.login-container {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('../img/login/back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.login-card {
    background: rgba(27, 39, 81, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    max-width: 400px;
    width: 90%;
    margin-right: 170px;
}

.logo-container {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0.5rem;
    margin-top: 2rem;
}

.logo-icon {
    width: 80px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.brand-name {
    color: white;
    font-size: 2rem;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

.brand-name small {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    margin-top: -0.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 0.5rem;
    display: block;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
    background: white;
}

.form-group.focused .form-label {
    color: #3498db;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #95a5a6;
}

.login-btn {
    width: 100%;
    padding: 0.875rem;
    background: #3F6AD9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.login-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.error-message {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.ip-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-align: center;
    margin-top: 1rem;
}

.footer {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer img {
    height: 1.5rem;
    opacity: 0.8;
}

.wheelchair-icon {
    width: 40px;
    height: 40px;
    fill: #2c3e50;
}

.login-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-input {
    position: relative;
}

.form-input:focus {
    transform: translateY(-1px);
}

.login-btn:active {
    transform: translateY(0);
}

.form-group:hover .form-label {
    color: #3498db;
    transition: color 0.3s ease;
}

.login-btn.loading {
    position: relative;
    color: transparent;
}

.login-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .login-container {
        justify-content: center;
    }
    
    .login-card {
        margin: 1rem;
        padding: 2rem;
    }

    .footer {
        position: relative;
        margin-top: 2rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
        margin-right: 1rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .brand-name small {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
} 