/* 
 * auth.css 
 * Premium Laravel-style SaaS Authentication Layout
 */

body.rr-auth-body {
    background-color: var(--rr-bg);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.rr-auth-shell {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* --- Left Brand Panel (Desktop Only) --- */
.rr-auth-brand-panel {
    display: none;
    flex: 1;
    background-color: var(--rr-navy); /* Dark, premium brand color */
    color: #FFF;
    padding: var(--rr-space-8);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .rr-auth-brand-panel {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.rr-auth-brand-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.rr-auth-logo {
    display: flex;
    align-items: center;
    gap: var(--rr-space-3);
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFF;
    text-decoration: none;
    margin-bottom: var(--rr-space-8);
}
.rr-auth-logo:hover {
    color: #FFF;
}

.rr-auth-brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--rr-space-4);
}

.rr-auth-brand-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--rr-space-6);
}

.rr-auth-features {
    display: flex;
    flex-direction: column;
    gap: var(--rr-space-4);
    margin-top: var(--rr-space-6);
}

.rr-auth-feature {
    display: flex;
    align-items: center;
    gap: var(--rr-space-3);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.rr-auth-feature i {
    color: var(--rr-orange);
    font-size: 1.25rem;
}

/* Background Abstract */
.rr-auth-brand-bg {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,72,1,0.15) 0%, rgba(11,15,25,0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* --- Right Auth Panel --- */
.rr-auth-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--rr-space-6) var(--rr-space-4);
    position: relative;
    background-color: var(--rr-bg);
}

@media (min-width: 1024px) {
    .rr-auth-main {
        max-width: 50%;
        padding: var(--rr-space-8);
    }
}

.rr-auth-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.rr-auth-header {
    margin-bottom: var(--rr-space-6);
    text-align: left;
}

.rr-auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--rr-text-primary);
    margin-bottom: var(--rr-space-2);
}

.rr-auth-subtitle {
    font-size: 0.95rem;
    color: var(--rr-text-secondary);
}

.rr-auth-form .rr-form-group {
    margin-bottom: var(--rr-space-4);
}

/* Mobile Brand Header */
.rr-auth-mobile-header {
    display: flex;
    align-items: center;
    gap: var(--rr-space-2);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--rr-text-primary);
    text-decoration: none;
    margin-bottom: var(--rr-space-6);
}
@media (min-width: 1024px) {
    .rr-auth-mobile-header {
        display: none;
    }
}

/* --- Utilities --- */
.rr-auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: var(--rr-space-5) 0;
    color: var(--rr-text-muted);
    font-size: 0.85rem;
}
.rr-auth-divider::before, .rr-auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--rr-border);
}
.rr-auth-divider::before { margin-right: 1rem; }
.rr-auth-divider::after { margin-left: 1rem; }

.rr-auth-link {
    color: var(--rr-primary);
    text-decoration: none;
    font-weight: 500;
}
.rr-auth-link:hover {
    text-decoration: underline;
}

.rr-theme-toggle-auth {
    position: absolute;
    top: var(--rr-space-4);
    right: var(--rr-space-4);
    z-index: 100;
}

.rr-auth-footer {
    text-align: center;
    margin-top: var(--rr-space-6);
    color: var(--rr-text-secondary);
    font-size: 0.9rem;
}

/* Password Input Wrapper */
.rr-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.rr-password-wrapper .rr-input {
    padding-right: 40px;
}
.rr-password-toggle {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--rr-text-muted);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rr-password-toggle:hover {
    color: var(--rr-text-primary);
}

