﻿.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #cbbdfe 0%, #bdcbfe 100%);
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 1000px;
    width: 100%;
    display: flex;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.auth-brand-section {
    flex: 0 0 45%;
    background: linear-gradient(135deg, rgb(0, 163, 232), #667eea);
    color: white;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-content {
    text-align: center;
}

.brand-logo {
    max-width: 180px;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.brand-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.brand-description {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.brand-features {
    text-align: left;
    display: inline-block;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

    .feature-item i {
        font-size: 1.5rem;
        opacity: 0.9;
    }

.auth-form-section {
    flex: 1;
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
}

.form-content {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.95rem;
    pointer-events: none;
}

.input-with-icon .form-control-custom {
    padding-left: 2.75rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

    .toggle-password:hover {
        color: rgb(0, 163, 232);
    }

    .toggle-password:focus {
        outline: none;
    }

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
}

    .custom-checkbox input[type="checkbox"] {
        width: 1.2em;
        height: 1.2em;
        accent-color: rgb(0, 163, 232);
        cursor: pointer;
    }

    .custom-checkbox label {
        margin: 0;
        font-size: 0.9rem;
        color: #666;
        cursor: pointer;
    }

.link-primary {
    color: rgb(0, 163, 232);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

    .link-primary:hover {
        color: #0095d9;
        text-decoration: underline;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .auth-brand-section {
        display: none;
    }

    .auth-card {
        max-width: 500px;
    }

    .auth-form-section {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 767.98px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-form-section {
        padding: 2rem 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .auth-form-section {
        padding: 1.5rem 1.25rem;
    }

    .form-title {
        font-size: 1.35rem;
    }

    .brand-logo {
        max-width: 140px;
    }
}
