* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/static/img/login_background.jpg');
    background-size: auto 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 90%;
    max-width: 400px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

h2 {
    text-align: center;
    color: #f0f0f0;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

.mb-3 {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    color: #ffffff;
    font-weight: 500;
    font-size: 13px;
}

.form-control {
    padding: 10px 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: transparent;
    color: #ffffff;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #ffffff;
}

.btn-login {
    background: transparent;
    color: white;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.forgot-password a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }

    h2 {
        font-size: 24px;
    }

    .logo img {
        width: 100px;
        height: 100px;
    }
}
/* ===== SOCIAL LOGIN BUTTONS ===== */
.social-login {
    margin-top: 20px;
}

.social-login p {
    text-align: center;
    color: white;
    margin-bottom: 15px;
    font-size: 14px;
}

.btn-social {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    color: white;
}

.btn-google {
    background: linear-gradient(135deg, #4285f4, #34a853);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.btn-google:hover {
    background: linear-gradient(135deg, #357ae8, #2d9348);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.btn-facebook {
    background: linear-gradient(135deg, #1877f2, #0d5dbf);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.btn-facebook:hover {
    background: linear-gradient(135deg, #166fe5, #0b4fa3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.btn-social i {
    margin-right: 10px;
}
