.auth-wrapper {
    max-width: 650px;
    margin: 60px auto;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-wrapper h2 {
    margin-bottom: 1rem;
    color: #2E7D32;
    font-size: 28px;
}

.auth-wrapper p {
    font-size: 14px;
    color: #666;
    margin-bottom: 2rem;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.auth-form button {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modern-input {
    width: 100%;
    padding: 14px;
    margin: 8px 0 20px 0;
    border-radius: 12px;
    border: 2px solid #f0f2f5;
    background: #fdfdfd;
    font-size: 14px;
    transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-input:focus {
    outline: none;
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.auth-form button:hover {
    background-color: #388e3c;
}

.error-banner {
    background: #fee2e2;
    color: #b91c1c;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #fca5a5;
    text-align: center;
}

.btn-auth-primary {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-auth-primary:active {
    transform: scale(0.98);
}

.auth-options-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 10px 0 25px 0;
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.auth-buttons a {
    background-color: #66bb6a;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.auth-buttons a:hover {
    background-color: #388e3c;
    transform: scale(1.05);
}


.auth-page-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    padding: 2rem;
}

.auth-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-width: 1000px;
    width: 95%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.auth-brand-side {
    background: #2E7D32;
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-logo {
    width: 85%;
    margin-bottom: 0.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: brightness(0) invert(1);
}

.auth-brand-side h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.value-list {
    list-style: none;
    padding: 0;
}

.value-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

.check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: bold;
}

.auth-form-side {
    padding: 3rem;
    display: flex;
    align-items: center;
    background: #fff;
}

.auth-wrapper {
    margin: 0 auto;
    box-shadow: none;
}

.form-group {
    text-align: left;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: #444;
    font-size: 0.85rem;
}

.btn-auth-primary {
    width: 100%;
    background-color: #2E7D32;
    color: white;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-auth-primary:hover {
    background-color: #1b5e20;
    transform: translateY(-1px);
}

.field-error {
    min-height: 20px;
    font-size: 0.8rem;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.error-text {
    color: #d32f2f;
    font-weight: 600;
}

.success-text {
    color: #2E7D32;
    font-weight: 600;
    animation: fadeIn 0.3s ease-in;
}

input.modern-input:has(+ .field-error .error-text) {
    border-color: #d32f2f;
}

input.modern-input:has(+ .field-error .success-text) {
    border-color: #2E7D32;
}

.form-group:has(.error-text) .modern-input {
    border-color: #d32f2f !important;
}

.form-group:has(.success-text) .modern-input {
    border-color: #2E7D32 !important;
}

.remember-me-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    font-weight: 600;
}

.remember-me-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: #2E7D32;
}

.remember-me-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.remember-me-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2E7D32;
    margin: 0;
}

.remember-me-container .label-text {
    font-size: 0.85rem;
    color: #444;
    font-weight: 600;
}

.forgot-link {
    font-size: 0.85rem;
    color: #2E7D32;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    margin-top: 4px;
}


.forgot-link:hover {
    text-decoration: underline;
}


@media (max-width: 850px) {
    .auth-split-layout {
        grid-template-columns: 1fr;
    }

    .auth-brand-side {
        display: none;
    }
}