/* ==========================================================================
   LOGIN PAGE - Modern Design
   Hành Trình Xanh An Giang
   ========================================================================== */

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    padding: 1rem;
}

/* Auth Card - Split Layout */
.auth-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    width: 100%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-height: 650px;
}

/* Left Side - Brand */
.auth-brand {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-brand-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/anh1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.auth-brand-content {
    position: relative;
    z-index: 7;
}

.auth-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    margin-bottom: 3rem;
}

.auth-logo-circle {
    width: 140px;
    height: 140px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;

}

.auth-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-brand h2 {
    color: #ffffff;
    /* Thêm dòng này để chữ thành màu trắng */
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(255, 0, 0, 0.1);
}

.auth-brand p {
    font-size: 1.125rem;
    opacity: 0.95;
    color: #ffffff;
    line-height: 1.6;
}

/* Right Side - Form */
.auth-form-wrapper {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #6B7280;
    font-size: 1rem;
}

/* Form Elements */
.auth-form {
    margin-top: 2rem;
}

.auth-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.auth-input-group {
    position: relative;
}

.auth-input {
    width: 100%;
    height: 52px;
    padding: 0 1rem 0 3rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #F9FAFB;
}

.auth-input:focus {
    outline: none;
    border-color: #10B981;
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    pointer-events: none;
}

.auth-input:focus+.auth-input-icon {
    color: #10B981;
}

/* Button */
.btn-auth {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-auth:active {
    transform: translateY(0);
}

/* Alert */
.alert-error {
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.alert-error .material-icons {
    color: #DC2626;
}

/* Links */
.auth-link {
    color: #10B981;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #059669;
    text-decoration: underline;
}

/* Divider */
.auth-divider {
    height: 1px;
    background: #E5E7EB;
    margin: 2rem 0;
}

/* Footer Text */
.auth-footer-text {
    text-align: center;
    color: #6B7280;
    font-size: 0.9375rem;
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */

@media (max-width: 1023.98px) {
    .auth-card {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .auth-brand {
        display: none;
    }

    .auth-form-wrapper {
        padding: 2rem;
    }

    .auth-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .auth-container {
        padding: 0;
        background: white;
    }

    .auth-card {
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }

    .auth-form-wrapper {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-input,
    .btn-auth {
        height: 48px;
    }
}