.active-nav-btn {
    color: #6366F1 !important;
    background-color: rgba(99, 102, 241, 0.1) !important;
}

.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 73px - 180px);
    padding: 40px 20px;
    background-color: #f8f8f8;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    background: #ffffff;
    border-radius: 28px;
    padding: 16px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1);
}

.login-banner-side {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
}

.banner-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-banner-side:hover .banner-img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 35px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(
        180deg, 
        rgba(15, 23, 42, 0.05) 0%, 
        rgba(15, 23, 42, 0.45) 50%, 
        rgba(15, 23, 42, 0.88) 100%
    );
}

.banner-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    animation: fadeInDown 0.8s ease-out;
}

.users-img {
    width: 80px;
    height: auto;
}

.badge-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stars-img {
    width: 75px;
    height: auto;
}

.badge-info span {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.banner-text {
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out;
}

.banner-text h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #ffffff;
}

.banner-text h2 span {
    color: #818cf8;
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    max-width: 420px;
}

.login-form-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
}

.login-header {
    margin-bottom: 28px;
}

.login-header h1 {
    font-size: 30px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-header p {
    color: #6b7280;
    font-size: 14px;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.25s ease;
}

.social-btn:hover {
    border-color: #d1d5db;
    background-color: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

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

.divider span {
    padding: 0 14px;
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 7px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}

.label-row label {
    margin-bottom: 0;
}

.forgot-link {
    font-size: 13px;
    font-weight: 600;
    color: #6366F1;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-wrapper input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 400;
    color: #111827;
    background-color: #f9fafb;
    outline: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.input-wrapper input:focus {
    background-color: #ffffff;
    border-color: #6366F1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper input:focus ~ .input-icon {
    color: #6366F1;
}

.input-wrapper input.invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.input-wrapper input.invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.toggle-password:hover {
    color: #4b5563;
    background-color: #f3f4f6;
}

.error-message {
    font-size: 12px;
    color: #ef4444;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.2s ease-in;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: #6366F1;
    background-color: #ffffff;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #6366F1;
    border-color: #6366F1;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.submit-button {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    margin-top: 6px;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    color: #ffffff !important;
}

.submit-button span,
.submit-button svg {
    color: #ffffff !important;
}

.submit-button svg {
    transition: transform 0.2s ease;
}

.submit-button:hover svg {
    transform: translateX(4px);
}

.signup-prompt {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.signup-prompt a {
    color: #6366F1;
    font-weight: 600;
    transition: color 0.2s ease;
}

.signup-prompt a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .login-banner-side {
        min-height: 280px;
    }

    .banner-text h2 {
        font-size: 24px;
    }

    .banner-overlay {
        padding: 24px;
    }

    .login-form-side {
        padding: 16px 12px;
    }
}

@media (max-width: 500px) {
    .login-section {
        padding: 20px 12px;
    }

    .login-banner-side {
        display: none;
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }
}
