﻿body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title {
    color: #333;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #666;
    font-size: 1rem;
}

.form-floating {
    margin-bottom: 1rem;
}

.form-control {
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        background-color: white;
    }

.form-floating > label {
    color: #666;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, #ddd, transparent);
    }

    .divider span {
        background: rgba(255, 255, 255, 0.95);
        padding: 0 1rem;
        color: #666;
        font-size: 14px;
    }

.social-login {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.btn-google {
    background: #db4437;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px;
    flex: 1;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn-google:hover {
        background: #c23321;
        transform: translateY(-2px);
        color: white;
    }

.btn-facebook {
    background: #1877f2;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px;
    flex: 1;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn-facebook:hover {
        background: #166fe5;
        transform: translateY(-2px);
        color: white;
    }

.form-check {
    margin-bottom: 1rem;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.alert {
    border-radius: 12px;
    border: none;
    margin-bottom: 1rem;
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

    .forgot-password a {
        color: #667eea;
        text-decoration: none;
        font-weight: 500;
    }

        .forgot-password a:hover {
            text-decoration: underline;
        }

@media (max-width: 480px) {
    .login-card {
        padding: 1.5rem;
        margin: 10px;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .social-login {
        flex-direction: column;
    }
}

.loading {
    display: none;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.btn-google, .btn-facebook {
    margin-left: auto !important;
    margin-right: auto !important;
}