/* Shared Auth Styles */
.auth-wrapper {
    display: flex;
    min-height: auto;
    /* Allow content to dictate height */
    /* Fit within navbar/footer */
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin: 3rem auto;
    max-width: 800px;
    width: 90%;
}

.auth-sidebar {
    flex: 1;
    background: linear-gradient(135deg, var(--hanuman, #e85d04) 0%, #1a1f36 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    /* Further Reduced */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.auth-sidebar::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 10s infinite ease-in-out reverse;
}

.auth-sidebar h2 {
    font-size: 1.6rem;
    /* Further Reduced */
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.auth-sidebar p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.auth-content {
    flex: 1;
    padding: 2rem;
    /* Further Reduced */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.auth-header {
    margin-bottom: 1rem;
    /* Compact */
    text-align: center;
}

.auth-header h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.auth-header p {
    color: #8898aa;
    font-size: 0.85rem;
    margin: 0;
}

.form-control-animated {
    width: 100%;
    padding: 0.6rem 1rem;
    /* Smaller Input */
    border: 1px solid #eef2f6;
    /* Thinner border */
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background: #fcfcfc;
}

.form-control-animated:focus {
    border-color: var(--hanuman, #e85d04);
    background: white;
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.1);
    outline: none;
}

.btn-block {
    width: 100%;
    padding: 0.7rem;
    /* Smaller Button */
    font-size: 1rem;
    margin-top: 0.8rem;
    border-radius: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 1rem;
    /* Compact footer */
    color: #8898aa;
    font-size: 0.8rem;
}

.auth-footer p {
    margin: 5px 0;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
@media (max-width: 576px) {
    .auth-wrapper { flex-direction: column; margin: 1rem 0; width: 100%; max-width: 100%; border-radius: 0; }
    .auth-sidebar, .auth-content { width: 100%; }
}
