/* ========================================================
   STATE OF SAN ANDREAS - OFFICIAL GOVERNMENT PORTAL
   ZenithZone Roleplay | staat.zenithzonerp.de
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-primary: #080e1a;
    --bg-secondary: #0d1728;
    --bg-card: #132038;
    --bg-card-hover: #172744;
    --bg-glass: rgba(19, 32, 56, 0.75);
    
    --gold: #d4af37;
    --gold-light: #f3d46f;
    --gold-dark: #a98522;
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    --navy-border: rgba(212, 175, 55, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.08);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #8899aa;
    
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    --info: #38bdf8;
    
    --font-serif: 'Cinzel', serif;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(26, 68, 128, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #070c17 0%, #0a1322 100%);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
}

/* --- TOP HOTLINE BANNER --- */
.emergency-top-ticker {
    background: linear-gradient(90deg, #111e36 0%, #1a2c4e 50%, #111e36 100%);
    border-bottom: 1px solid var(--navy-border);
    padding: 7px 20px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.ticker-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hotline-pills {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hotline-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hotline-item strong {
    color: var(--gold);
    font-weight: 700;
}

.hotline-item.emergency strong {
    color: #ff5555;
    background: rgba(255, 68, 68, 0.15);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.server-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* --- STATE HEADER --- */
.state-main-header {
    background: linear-gradient(180deg, rgba(13, 23, 40, 0.95) 0%, rgba(8, 14, 26, 0.98) 100%);
    border-bottom: 2px solid var(--gold);
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 22px;
    text-decoration: none;
    color: inherit;
}

.seal-img-wrapper {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.state-seal-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.45));
    transition: transform 0.3s ease;
}

.brand-wrapper:hover .state-seal-logo {
    transform: scale(1.05) rotate(2deg);
}

.brand-titles h1 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.state-badge {
    background: var(--gold);
    color: #0b1322;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.brand-subtitle {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--gold-light);
    letter-spacing: 0.8px;
    margin-top: 3px;
}

.brand-motto {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 2px;
}

.header-right-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.portal-date-box {
    text-align: right;
    border-right: 1px solid var(--navy-border);
    padding-right: 18px;
}

.portal-date-box .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portal-date-box .val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* --- NAVIGATION BAR --- */
.state-navbar {
    background: rgba(13, 23, 40, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--navy-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 16px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    border-bottom: 3px solid transparent;
    transition: all 0.25s ease;
}

.nav-link i {
    color: var(--gold);
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(212, 175, 55, 0.05);
}

.nav-link:hover i {
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 12px;
}

/* --- MAIN CONTAINER --- */
.portal-main-wrapper {
    max-width: 1360px;
    margin: 35px auto 60px;
    padding: 0 20px;
}

.portal-tab-content {
    display: none;
    animation: fadeIn 0.35s ease-out;
}

.portal-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #b89124 100%);
    color: #0b1322;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* --- HERO / PORTAL HOME --- */
.portal-hero-card {
    background: linear-gradient(135deg, #101c33 0%, #0d1728 60%, #152442 100%);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.portal-hero-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.hero-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* QUICK ACCESS GRID */
.quick-access-section {
    margin-bottom: 40px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
}

.section-head-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-head-title i {
    color: var(--gold);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.quick-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.quick-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--navy-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.quick-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--navy-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 18px;
}

.quick-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.quick-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* STATE BULLETINS */
.bulletins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
}

.bulletin-box {
    background: var(--bg-card);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bulletin-box.alert-box {
    border-left-color: var(--danger);
}

.bulletin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bulletin-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    padding: 3px 8px;
    border-radius: 4px;
}

.bulletin-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.bulletin-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.bulletin-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* --- LAW CODEX PAGE --- */
.law-search-toolbar {
    background: var(--bg-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.search-input-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.1rem;
}

.law-search-input {
    width: 100%;
    background: rgba(8, 14, 26, 0.85);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: 14px 18px 14px 48px;
    color: #ffffff;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.25s ease;
}

.law-search-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.law-categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.law-cat-btn {
    background: rgba(8, 14, 26, 0.6);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.law-cat-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #ffffff;
    border-color: var(--navy-border);
}

.law-cat-btn.active {
    background: var(--gold);
    color: #0b1322;
    font-weight: 700;
    border-color: var(--gold);
}

.law-category-block {
    margin-bottom: 35px;
}

.law-cat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, #16243d 0%, #0d1728 100%);
    border-left: 5px solid var(--gold);
    padding: 16px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 18px;
}

.law-cat-icon {
    font-size: 1.6rem;
    color: var(--gold);
}

.law-cat-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.law-cat-badge {
    font-size: 0.78rem;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
}

.law-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 18px;
}

.paragraph-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.paragraph-card:hover {
    border-color: var(--navy-border);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.para-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.para-num {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--navy-border);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.para-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    flex-grow: 1;
}

.para-subcat {
    font-size: 0.72rem;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.para-body {
    margin-bottom: 15px;
    flex-grow: 1;
}

.para-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.para-penal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.penal-tag {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.fine-tag {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.jail-tag {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.bail-tag {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.para-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.btn-copy-para, .btn-add-calc {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.btn-copy-para:hover {
    color: #ffffff;
}

.btn-add-calc {
    color: var(--gold);
}

.btn-add-calc:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.search-highlight {
    background: rgba(212, 175, 55, 0.35);
    color: #ffffff;
    padding: 0 2px;
    border-radius: 2px;
}

.no-results-box {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.no-results-box i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.no-results-box h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.no-results-box p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* --- DEPARTMENTS PAGE --- */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
}

.dept-card {
    background: var(--bg-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dept-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), var(--shadow-gold);
}

.dept-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.dept-logo-wrapper {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dept-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
    transition: transform 0.3s ease;
}

.dept-card:hover .dept-badge-img {
    transform: scale(1.08);
}

.dept-badge-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    background: var(--gold);
    color: #0b1322;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.dept-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 4px;
}

.dept-subtitle {
    font-size: 0.85rem;
    color: var(--gold-light);
}

.dept-motto {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 2px solid var(--gold);
}

.dept-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.dept-tasks-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dept-tasks-list {
    list-style: none;
    margin-bottom: 20px;
}

.dept-tasks-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.dept-tasks-list li i {
    color: var(--gold);
    margin-top: 3px;
    font-size: 0.75rem;
}

.dept-meta-footer {
    background: rgba(8, 14, 26, 0.6);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.dept-meta-item {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dept-meta-item:last-child {
    margin-bottom: 0;
}

.dept-meta-item strong {
    color: #ffffff;
}

.dept-actions {
    display: flex;
    gap: 12px;
}

.dept-actions .btn {
    flex: 1;
}

/* --- PENAL CALCULATOR (BUßGELDRECHNER) --- */
.calc-wrapper-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 30px;
    align-items: flex-start;
}

.calc-selection-pane {
    background: var(--bg-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-xl);
    padding: 25px;
    box-shadow: var(--shadow-soft);
}

.calc-group-box {
    margin-bottom: 24px;
}

.calc-group-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 6px;
}

.calc-items-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 14, 26, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 12px;
}

.calc-row-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--navy-border);
}

.calc-item-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
}

.calc-row-details {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.calc-row-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.calc-row-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

.calc-row-penal {
    display: flex;
    gap: 8px;
}

.calc-chip {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.calc-chip.fine {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.calc-chip.jail {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

/* CALCULATOR SIDEBAR SUMMARY */
.calc-summary-pane {
    position: sticky;
    top: 90px;
    background: linear-gradient(145deg, #122039 0%, #0d1728 100%);
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-gold), var(--shadow-soft);
}

.calc-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--navy-border);
}

.calc-summary-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-badge-count {
    background: var(--gold);
    color: #0b1322;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 30px;
}

.calc-summary-results {
    background: rgba(8, 14, 26, 0.8);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 22px;
}

.calc-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.calc-stat-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.calc-stat-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-stat-val {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
}

.calc-stat-val.fine-val {
    color: #34d399;
}

.calc-stat-val.jail-val {
    color: #f87171;
}

.calc-stat-val.bail-val {
    color: #38bdf8;
    font-size: 1.1rem;
}

.calc-modifiers-box {
    margin-bottom: 20px;
}

.calc-mod-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.calc-mod-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    cursor: pointer;
}

.calc-case-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.calc-input {
    width: 100%;
    background: rgba(8, 14, 26, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: #ffffff;
    font-size: 0.88rem;
    outline: none;
}

.calc-input:focus {
    border-color: var(--gold);
}

.calc-selected-preview {
    max-height: 180px;
    overflow-y: auto;
    background: rgba(8, 14, 26, 0.5);
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    list-style: none;
}

.selected-offense-entry {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.selected-offense-entry:last-child {
    border-bottom: none;
}

.empty-list-msg {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding: 15px 0;
}

.calc-action-buttons {
    display: flex;
    gap: 12px;
}

.calc-action-buttons .btn {
    flex: 1;
}

/* --- CITIZEN SERVICE & FORMS (BÜRGERSERVICE) --- */
.service-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-xl);
    padding: 35px;
    box-shadow: var(--shadow-soft);
    max-width: 900px;
    margin: 0 auto;
}

.service-selector-head {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.service-selector-head label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-light);
    display: block;
    margin-bottom: 8px;
}

.form-select-lg {
    width: 100%;
    background: rgba(8, 14, 26, 0.9);
    border: 2px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: #ffffff;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.form-select-lg:focus {
    border-color: var(--gold);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.col-half {
    flex: 1;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    background: rgba(8, 14, 26, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--gold);
}

.form-check-group {
    background: rgba(8, 14, 26, 0.6);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-check-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

/* --- CUSTOM MODALS & TOAST --- */
.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 8, 15, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.25s ease-out;
}

.custom-modal-card {
    background: linear-gradient(145deg, #111f38 0%, #0d1728 100%);
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    padding: 35px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-gold), 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-seal-badge {
    margin-bottom: 16px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.modal-subtitle {
    color: var(--gold-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.modal-body-box {
    background: rgba(8, 14, 26, 0.7);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: left;
    margin-bottom: 25px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.modal-body-box p {
    margin-bottom: 10px;
}

.modal-body-box p:last-child {
    margin-bottom: 0;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.portal-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0d1728;
    color: #ffffff;
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 14px 22px;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portal-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.text-gold { color: var(--gold) !important; }
.text-danger { color: #f87171 !important; }
.text-muted { color: var(--text-muted) !important; }

/* --- FOOTER --- */
.state-portal-footer {
    background: #070c16;
    border-top: 1px solid var(--navy-border);
    padding: 50px 20px 30px;
    color: var(--text-muted);
}

.footer-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 35px;
}

.footer-brand h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-col h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold-light);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1360px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .calc-wrapper-layout {
        grid-template-columns: 1fr;
    }
    .calc-summary-pane {
        position: static;
        margin-top: 20px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .brand-wrapper {
        flex-direction: column;
    }
    .header-right-meta {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }
    .state-navbar.nav-open .nav-menu {
        display: flex;
    }
    .law-items-grid, .departments-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .ticker-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* --- ANWALTSKAMMER, REGISTERS & CHANGELOG --- */
.kammer-intro-box {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #111f38 0%, #0d1728 100%);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
}

.kammer-seal-mini {
    flex-shrink: 0;
}

.lawyers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.lawyer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 22px;
    transition: all 0.25s ease;
}

.lawyer-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--navy-border);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.lawyer-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.lawyer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
}

.lawyer-badge {
    background: var(--gold);
    color: #0b1322;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.lawyer-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #ffffff;
    margin-top: 3px;
}

.lawyer-firm {
    font-size: 0.82rem;
    color: var(--gold-light);
}

.lawyer-card-body p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lawyer-card-body p:last-child {
    margin-bottom: 0;
}

.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.78rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.registers-split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 22px;
}

.register-info-card {
    background: var(--bg-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.register-info-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.reg-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--navy-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.register-info-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.register-info-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.changelog-timeline-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.changelog-entry {
    background: var(--bg-card);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 18px 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.changelog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.changelog-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.changelog-summary {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- TEAM AUTH & CMS STYLING --- */
.btn-discord {
    background: #5865F2;
    color: #ffffff;
    border: none;
    font-weight: 700;
}

.btn-discord:hover {
    background: #4752c4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.team-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold);
    border-radius: 30px;
    padding: 4px 14px 4px 6px;
}

.team-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold);
}

.team-user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.team-user-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
}

.team-user-role {
    font-size: 0.68rem;
    color: var(--gold-light);
}

.btn-logout {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    margin-left: 6px;
    transition: color 0.2s ease;
}

.btn-logout:hover {
    color: var(--danger);
}

/* ADMIN FLOATING BAR */
.admin-floating-bar {
    background: linear-gradient(90deg, #182848 0%, #101c33 100%);
    border-bottom: 2px solid var(--gold);
    padding: 10px 20px;
    color: #ffffff;
    font-size: 0.88rem;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.admin-bar-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-bar-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* IN-CARD EDIT & DELETE BUTTONS */
.para-footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-para-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-action-edit, .btn-action-del {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.btn-action-edit:hover {
    background: var(--gold);
    color: #0b1322;
    border-color: var(--gold);
}

.btn-action-del:hover {
    background: var(--danger);
    color: #ffffff;
    border-color: var(--danger);
}

/* EMPTY LAWYERS NOTICE */
.empty-lawyers-notice {
    grid-column: 1 / -1;
    text-align: center;
    background: var(--bg-card);
    border: 1px dashed var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 45px 25px;
    box-shadow: var(--shadow-soft);
}

.empty-lawyer-icon {
    font-size: 2.8rem;
    margin-bottom: 14px;
}

.empty-lawyers-notice h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.empty-lawyers-notice p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    max-width: 650px;
    margin: 0 auto 15px;
    line-height: 1.6;
}

/* LOGIN MODAL TABS */
.login-modal-card {
    max-width: 480px;
}

.login-tabs-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 8px;
}

.login-tab-btn {
    flex: 1;
    background: rgba(8, 14, 26, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    padding: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.login-tab-btn.active {
    background: var(--gold);
    color: #0b1322;
    border-color: var(--gold);
}

.login-tab-pane {
    display: none;
}

.login-tab-pane.active {
    display: block;
}

.btn-discord {
    background: #5865F2;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-discord:hover {
    background: #4752c4;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    transform: translateY(-2px);
}


/* --- ZENITHZONE DISCORD BOT LIVE TEAM SELECTOR --- */
.bot-connection-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(88, 101, 242, 0.14);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.82rem;
    color: #dbeafe;
    margin-bottom: 12px;
}

.bot-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    flex-shrink: 0;
}

.discord-bot-team-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
    text-align: left;
}

.bot-loading-box {
    background: rgba(8, 14, 26, 0.65);
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 18px 12px;
    text-align: center;
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.discord-team-member-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: rgba(8, 14, 26, 0.78);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.discord-team-member-btn:hover {
    background: rgba(88, 101, 242, 0.18);
    border-color: #5865F2;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.25);
}

.discord-member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--gold);
    flex-shrink: 0;
}

.discord-member-meta {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    line-height: 1.25;
}

.discord-member-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.discord-member-role {
    font-size: 0.76rem;
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.discord-member-action {
    font-size: 0.8rem;
    font-weight: 700;
    color: #93c5fd;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* --- ZENITHZONE BOT SELF-AUTH CARD --- */
.bot-self-auth-card {
    background: rgba(8, 14, 26, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    text-align: center;
}

.bot-auth-code-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid var(--gold);
    border-radius: 30px;
    padding: 4px 14px;
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.bot-auth-code-badge strong {
    color: #ffffff;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.bot-auth-instruction {
    font-size: 0.88rem;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.45;
}

.bot-auth-sub {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.bot-waiting-indicator {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
