/* ===== SR AUTH THEME — shared by login.php & register.php ===== */
.sr-auth-box {
    width: 520px; max-width: 96vw;
    margin: 0 auto;
    background: linear-gradient(135deg, #161208, #1f1a0a);
    border: 1px solid #3a2e10;
    border-top: 3px solid #c9a84c;
    padding: 40px 44px 44px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.sr-auth-logo { display: block; margin: 0 auto 18px; max-width: 180px; }
.sr-auth-title {
    text-align: center; margin: 0 0 6px;
    font-size: 1.4rem; font-weight: 900;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: #ffe082;
    text-shadow: 0 0 20px rgba(201,168,76,0.4);
}
.sr-auth-sub {
    text-align: center; color: #5a4a20;
    font-size: 0.78rem; letter-spacing: 0.08em;
    text-transform: uppercase; margin: 0 0 28px;
}
.sr-auth-alert {
    background: rgba(180,30,30,0.15);
    border: 1px solid #8b2020;
    border-left: 3px solid #e53935;
    color: #ef9a9a; padding: 10px 14px;
    margin-bottom: 18px; font-size: 0.88rem;
    display: none;
}
.sr-auth-alert.visible { display: block; }
.sr-auth-success {
    background: rgba(30,120,30,0.15);
    border: 1px solid #1b5e20;
    border-left: 3px solid #43a047;
    color: #81c784; padding: 10px 14px;
    margin-bottom: 18px; font-size: 0.88rem;
    display: none;
}
.sr-auth-success.visible { display: block; }
.sr-auth-row { margin-bottom: 12px; }
.sr-auth-row label {
    display: block; font-size: 0.72rem;
    color: #7a6a3a; letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: 4px;
}
.sr-auth-input, .sr-auth-select {
    width: 100%; background: #0d0d0d;
    border: 1px solid #3a2e10;
    color: #e8d89a; padding: 10px 14px;
    font-size: 0.95rem; font-family: inherit;
    outline: none; box-sizing: border-box;
    transition: border-color 0.2s;
}
.sr-auth-input:focus, .sr-auth-select:focus { border-color: #c9a84c; }
.sr-auth-input::placeholder { color: #4a3e18; }
.sr-auth-cols  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sr-auth-cols3 { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 8px; }
.sr-auth-check {
    display: flex; align-items: flex-start; gap: 8px;
    color: #5a4a20; font-size: 0.82rem;
    margin-bottom: 16px;
}
.sr-auth-check input[type=checkbox] {
    margin-top: 2px; accent-color: #c9a84c;
    width: 15px; height: 15px; flex-shrink: 0;
}
.sr-auth-check label { cursor: pointer; }
.sr-auth-check a { color: #c9a84c; text-decoration: none; }
.sr-auth-check a:hover { color: #ffe082; }
.sr-auth-btn {
    width: 100%; padding: 12px;
    background: linear-gradient(135deg, #c9a84c, #ffe082, #c9a84c);
    background-size: 200% auto;
    border: none; color: #1a1000;
    font-size: 1rem; font-weight: 900;
    letter-spacing: 0.1em; text-transform: uppercase;
    cursor: pointer; font-family: inherit;
    animation: authBtnShine 3s linear infinite;
    transition: transform 0.2s;
}
.sr-auth-btn:hover { transform: translateY(-1px); }
@keyframes authBtnShine { 0%{background-position:0%} 100%{background-position:200%} }
.sr-auth-link-row {
    text-align: center; font-size: 0.82rem; color: #5a4a20;
    margin-top: 14px;
}
.sr-auth-link-row a { color: #c9a84c; text-decoration: none; }
.sr-auth-link-row a:hover { color: #ffe082; }

/* Section backgrounds */
section.signup {
    background: linear-gradient(160deg, #0d0600 0%, #1a0e00 50%, #0d0600 100%) !important;
    background-image: none !important;
    min-height: calc(100vh - 70px);
    padding-top: 100px;
    padding-bottom: 60px;
}
section.signin {
    background: linear-gradient(160deg, #0d0600 0%, #1a0e00 50%, #0d0600 100%) !important;
    background-image: none !important;
    min-height: calc(100vh - 70px);
    padding-top: 120px;
    padding-bottom: 60px;
    display: flex; align-items: center; justify-content: center;
}
