:root {
    /* startsite.css tokens (so header/footer match) */
    --primary-bg: #0a0e13;
    --secondary-bg: #0f1419;
    --card-bg: #161d25;
    --accent-green: #00d98a;
    --accent-green-dark: #00b872;
    --accent-green-darker: #009959;
    --accent-green-glow: rgba(0, 217, 138, 0.4);
    --text-primary: #e4e8ed;
    --text-secondary: #8a98a8;
    --text-muted: #5a6875;
    --border-color: #1f2830;
    --border-color-light: #2a3440;
    --hover-bg: #1d2530;
    --neon-glow: 0 0 15px rgba(0, 217, 138, 0.4), 0 0 30px rgba(0, 217, 138, 0.2);
    --neon-glow-strong: 0 0 20px rgba(0, 217, 138, 0.6), 0 0 40px rgba(0, 217, 138, 0.3), 0 0 60px rgba(0, 217, 138, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background-color: var(--primary-bg);
    background-image:
        radial-gradient(ellipse at 20% 10%, rgba(0, 217, 138, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(0, 217, 138, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.02) 0%, transparent 55%),
        linear-gradient(180deg, var(--primary-bg) 0%, #080c11 100%);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

.page { 
    padding-top: 84px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.topbar {
    padding: 1.5rem 0 1.5rem;
    position: relative;
}

.topbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 84px;
    height: 240px;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.035) 0%, transparent 55%),
        radial-gradient(circle at 78% 45%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.topbar-card {
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(22, 29, 37, 0.85) 0%, rgba(15, 20, 25, 0.75) 100%);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.topbar-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-md);
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 217, 138, 0.2), transparent 50%, rgba(0, 217, 138, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.topbar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 217, 138, 0.10);
}

.topbar-card:hover::after {
    opacity: 1;
}

.topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.topbar-inner > div:first-child {
    min-width: 0;
    max-width: 78ch;
}

.kicker {
    margin: 0 0 0.35rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.92;
}

.title {
    margin: 0;
    letter-spacing: -0.03em;
    font-size: clamp(2rem, 4vw, 2.65rem);
    line-height: 1.05;
    font-weight: 500;
}

.subtitle {
    margin: 0.65rem 0 0;
    color: var(--text-secondary);
    max-width: 80ch;
}

.micro {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(22, 29, 37, 0.55) 0%, rgba(15, 20, 25, 0.55) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.85rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.topbar-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topbar-actions .btn {
    height: 44px;
    padding: 0.75rem 1.05rem;
    white-space: nowrap;
}

.topbar-actions .btn.ghost {
    border-width: 1px;
}

.topbar-actions .btn.primary {
    min-width: 210px;
}

.section { padding: 1.25rem 0 4rem; }

.layout {
    display: grid;
    grid-template-columns: 1.45fr 0.95fr;
    gap: 1.25rem;
    align-items: start;
}

.card {
    background: linear-gradient(135deg, rgba(22, 29, 37, 0.85) 0%, rgba(15, 20, 25, 0.70) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: 0 0 0 1px rgba(0, 217, 138, 0.10);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-light);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(22, 29, 37, 0.90) 100%);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 217, 138, 0.10);
}

.card:hover::after { opacity: 1; }

.card-head {
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
}

.card-head h2 {
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    font-weight: 500;
}

.card-head p {
    margin: 0.25rem 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.grid {
    padding: 1.1rem 1.2rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.requirements {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(22, 29, 37, 0.65) 0%, rgba(15, 20, 25, 0.55) 100%);
    backdrop-filter: blur(12px);
    padding: 1rem 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.req-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.req-title {
    font-weight: 500;
    letter-spacing: -0.01em;
}

.req-sub {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.req-grid {
    display: grid;
    gap: 0.6rem;
}

.req-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.18);
    color: var(--text-secondary);
}

.req-item strong {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
}

.field { display: grid; gap: 0.45rem; }

label {
    font-weight: 500;
    font-size: 0.95rem;
}

select,
input[type="range"] {
    width: 100%;
}

select {
    appearance: none;
    background: rgba(22, 29, 37, 0.60);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 2.6rem 0.8rem 0.9rem;
    border-radius: var(--radius-sm);
    outline: none;
    transition: all var(--transition-normal);
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(228, 232, 237, 0.65) 50%),
        linear-gradient(135deg, rgba(228, 232, 237, 0.65) 50%, transparent 50%),
        linear-gradient(to right, transparent, transparent);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px),
        0 0;
    background-size:
        6px 6px,
        6px 6px,
        100% 100%;
    background-repeat: no-repeat;
}

select:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgba(22, 29, 37, 0.90);
    box-shadow: 0 0 0 3px rgba(0, 217, 138, 0.08), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hint {
    color: var(--text-muted);
    font-size: 0.85rem;
}

input[type="range"] {
    appearance: none;
    height: 34px;
    background: transparent;
    --range-percent: 50%;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(0, 217, 138, 0.95) 0%, rgba(0, 217, 138, 0.35) var(--range-percent), rgba(22, 29, 37, 0.55) var(--range-percent), rgba(15, 20, 25, 0.45) 100%);
    border: 1px solid var(--border-color);
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--accent-green);
    box-shadow: 0 6px 16px rgba(0, 217, 138, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 0 30px rgba(0, 217, 138, 0.15);
    border: 2px solid rgba(0, 0, 0, 0.35);
    margin-top: -5px;
}

input[type="range"]:focus { outline: none; }

input[type="range"]:focus::-webkit-slider-runnable-track {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(0, 217, 138, 0.08), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.range-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.range-value {
    color: var(--text-primary);
    font-weight: 500;
}

.range-muted { color: var(--text-muted); }

.range-price {
    display: block;
    font-size: 0.7rem;
    color: var(--accent-green);
    opacity: 0.75;
    white-space: nowrap;
}

.balance-row span { color: var(--text-muted); font-size: 0.85rem; }
.balance-row strong { font-size: 0.95rem; }

.segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.seg {
    position: relative;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: rgba(22, 29, 37, 0.60);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.seg:hover {
    border-color: var(--border-color-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 217, 138, 0.20), inset 0 2px 0 rgba(0, 217, 138, 0.12), 0 0 50px rgba(0, 217, 138, 0.12);
}

.seg input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.seg span {
    display: grid;
    place-items: center;
    padding: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.seg input:checked + span {
    color: var(--primary-bg);
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 50%, var(--accent-green) 100%);
    box-shadow: 0 8px 32px rgba(0, 217, 138, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.20), 0 0 40px rgba(0, 217, 138, 0.18);
}

.divider {
    height: 1px;
    background: var(--border-color);
}

.actions {
    padding: 1.1rem 1.2rem 1.25rem;
    display: grid;
    gap: 0.6rem;
}

.actions-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.summary .sticky {
    position: sticky;
    top: 96px;
}

.summary-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.summary-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    background: linear-gradient(135deg, rgba(138, 152, 168, 0.10), rgba(138, 152, 168, 0.05));
    border: 1px solid var(--border-color-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.summary-list,
.price {
    padding: 1.1rem 1.2rem;
    display: grid;
    gap: 0.75rem;
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    color: var(--text-secondary);
}

.row strong { color: var(--text-primary); }

.total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(42, 52, 64, 0.9);
}

.total strong {
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(0, 217, 138, 0.25);
    font-size: 1.25rem;
    font-weight: 500;
}

.fine {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.toast {
    padding: 0 1.2rem 1.2rem;
    min-height: 1.1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.toast.active {
    color: var(--text-primary);
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(22, 29, 37, 0.65);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 50%, var(--accent-green) 100%);
    background-size: 200% 200%;
    color: var(--primary-bg);
    box-shadow: 0 8px 32px rgba(0, 217, 138, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 0 40px rgba(0, 217, 138, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: gradientSlide 3s ease infinite;
}

@keyframes gradientSlide {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn.primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.30), transparent);
    transition: left 0.7s ease;
}

.btn.login {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #f59e0b 100%);
    background-size: 200% 200%;
    color: var(--primary-bg);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.18), 0 0 40px rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: gradientSlide 3s ease infinite;
}

.btn.login::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.30), transparent);
    transition: left 0.7s ease;
}

.btn.ghost {
    background: linear-gradient(135deg, rgba(22, 29, 37, 0.60) 0%, rgba(15, 20, 25, 0.70) 100%);
    backdrop-filter: blur(10px);
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 2px 0 rgba(0, 217, 138, 0.2), 0 0 30px rgba(0, 217, 138, 0.1);
}

.btn:hover { transform: translateY(-3px); }

.btn:active { transform: translateY(-1px); }

.btn.primary:hover::after { left: 100%; }

.btn.login:hover::after { left: 100%; }

.btn.primary:hover {
    box-shadow: 0 10px 40px rgba(0, 217, 138, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.25), 0 0 50px rgba(0, 217, 138, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
    animation: none;
    background-position: 50% 50%;
}

.btn.login:hover {
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.22), 0 0 50px rgba(245, 158, 11, 0.25);
    border-color: rgba(255, 255, 255, 0.25);
    animation: none;
    background-position: 50% 50%;
}

.btn.ghost:hover {
    background: linear-gradient(135deg, rgba(0, 217, 138, 0.15) 0%, rgba(0, 185, 114, 0.20) 100%);
    box-shadow: 0 10px 40px rgba(0, 217, 138, 0.35), inset 0 2px 0 rgba(0, 217, 138, 0.25), 0 0 50px rgba(0, 217, 138, 0.25);
}

.btn.full { width: calc(100% - 2.4rem); margin: 0 1.2rem 1.2rem; }

.summary .btn.full + .btn.full { margin-top: -0.65rem; }

@media (max-width: 980px) {
    .topbar-inner { flex-direction: column; }
    .layout { grid-template-columns: 1fr; }
    .summary .sticky { position: static; }
}

@media (max-width: 980px) {
    .topbar-inner {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .topbar-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .grid { grid-template-columns: 1fr; }
    .btn.full { width: calc(100% - 2.4rem); }
}

/* Game icon gradients (same set as gameserver overview) */
.g-minecraft { background: linear-gradient(135deg, #4a7c59 0%, #2d5a3d 100%); border-color: rgba(255,255,255,0.10); }
.g-fivem { background: linear-gradient(135deg, #f76707 0%, #d63031 100%); border-color: rgba(255,255,255,0.10); }
.g-rust { background: linear-gradient(135deg, #ce4257 0%, #8b2635 100%); border-color: rgba(255,255,255,0.10); }
.g-ark { background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%); border-color: rgba(255,255,255,0.10); }
.g-csgo { background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%); border-color: rgba(255,255,255,0.10); }
.g-valheim { background: linear-gradient(135deg, #457b9d 0%, #1d3557 100%); border-color: rgba(255,255,255,0.10); }
.g-terraria { background: linear-gradient(135deg, #06d6a0 0%, #118ab2 100%); border-color: rgba(255,255,255,0.10); }
.g-palworld { background: linear-gradient(135deg, #7209b7 0%, #560bad 100%); border-color: rgba(255,255,255,0.10); }

/* ─── Confirmation Modal ─── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 217, 138, 0.08);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.2rem;
    transition: color var(--transition-fast);
}
.modal-close:hover { color: var(--text-primary); }

.modal-body {
    padding: 1.2rem 1.4rem;
}

.modal-body h3 {
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modal-summary {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.4rem;
}

.modal-summary .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.modal-summary .row strong { color: var(--text-primary); }

.modal-summary .total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(42, 52, 64, 0.9);
}

.modal-summary .total strong {
    color: var(--accent-green);
    font-size: 1.15rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 217, 138, 0.25);
}

.modal-summary .divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.3rem 0;
}

.modal-legal {
    display: grid;
    gap: 0.75rem;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.checkbox-row input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--accent-green);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-row a {
    color: var(--accent-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.checkbox-row a:hover { color: var(--accent-green-dark); }

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.4rem 1.2rem;
    border-top: 1px solid var(--border-color);
}

.modal-footer .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.92rem;
}

.modal-footer .btn.primary:disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
    animation: none;
}


