.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}
.auth-branding-panel {
    background: linear-gradient(160deg, var(--primary) 0%, #4a2f8c 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 40px;
}
.auth-branding-content {
    text-align: center;
    max-width: 400px;
}
.auth-branding-content .logo {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    color: white !important;
}
.auth-branding-content .logo span {
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}
.auth-branding-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.auth-branding-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}
.auth-form-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}
.auth-form {
    width: 100%;
    max-width: 400px;
}
.auth-form h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.auth-form .form-row .form-group {
    margin-bottom: 0;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-light);
    font-size: 1rem;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(138, 99, 210, 0.2);
}
.auth-form .btn {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
}
.form-footer {
    text-align: center;
    margin-top: 25px;
    color: var(--text-dark);
}
.form-footer a {
    color: var(--primary-light);
    font-weight: 600;
}
.error-messages, .success-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
}
.error-messages p, .success-message p {
    margin: 0;
    color: white;
}
.error-messages {
    background: rgba(248, 113, 113, 0.2);
    border: 1px solid #F87171;
}
.success-message {
    background: rgba(52, 211, 153, 0.2);
    border: 1px solid #34D399;
}
@media (max-width: 992px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }
    .auth-branding-panel {
        display: none;
    }
    .auth-form-panel {
        min-height: 100vh;
    }
}
@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
.form-footer-link {
    display: inline-block;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
.form-footer-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}
.form-footer-link:hover {
    color: var(--text-light);
}
.form-footer-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.auth-form .btn {
    width: 100%;
    max-width: 250px;
    padding: 15px;
}
.form-action-group {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}