/* Reset some default styles */
:root {
    --accent-color: #00aaff;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #fff;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.login-container {
    display: flex;
    min-height: 100vh;
}

.login-hero {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.login-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.login-hero-content {
    max-width: 600px;
    text-align: center;
    z-index: 1;
}

.login-hero-content img  {
      margin-top: 3rem;
    }

.login-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.1);
}

.login-card {
    background-color: rgba(var(--secondary-color-rgb), 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    width: 100%;
    max-width: 600px;
}

@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }

    .login-hero {
        padding: 3rem 1rem 0rem 0rem;
    }

    .login-form-container {
        padding: 1rem 1rem;
    }

    .login-hero-content .h4 {
        font-size: 1rem;
    }

    .login-hero-content img  {
      margin-top: 1rem;
    }

    #page-top > div.login-form-container > div > p  {
        font-size: 0.8rem;
    }

    .login-hero-content .login-card p  {
        font-size: 0.8rem;
    }

    #id_password1_helptext > ul {
        font-size: 0.6rem;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    height: 48px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.input-group-text {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6c757d;
    z-index: 5;
}

.input-group {
    position: relative;
}

.btn-login {
    background-color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #6c757d;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider:not(:empty)::before {
    margin-right: 1.5rem;
}

.divider:not(:empty)::after {
    margin-left: 1.5rem;
}

.social-login .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.social-login .btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.forgot-password {
    text-align: right;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
}

.signup-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.signup-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
