/* GLOBAL PREMIUM STYLE – LEGACY RP LOOK */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
    --legacy-yellow: #ffd400;
    --legacy-yellow-soft: rgba(255, 212, 0, 0.16);
    --bg-dark: #05060b;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --card-bg: rgba(9, 12, 20, 0.86);
    --border-soft: rgba(148, 163, 184, 0.18);
    --danger: #f97373;
    --danger-strong: #ef4444;
    --success: #22c55e;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    color: var(--text-main);
    background:
        linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
        url("https://images.unsplash.com/photo-1525609004556-c46c7d6cf023?auto=format&fit=crop&w=1920&q=80")
        center / cover fixed no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

/* --- LAYOUT --- */

.app-shell {
    width: 100%;
    max-width: 1180px;
    background: radial-gradient(circle at top, rgba(255,255,255,0.06), transparent 60%),
                rgba(0,0,0,0.78);
    border-radius: 26px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 26px 80px rgba(0,0,0,0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 26px 26px 22px;
}

/* HEADER */

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 0% 0%, #ffd400, #ff6b00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 212, 0, 0.75);
}

.brand-text-main {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.brand-text-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.pill {
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    padding: 6px 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-muted);
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

/* --- SECTIONS --- */

.page-title {
    font-size: 26px;
    font-weight: 700;
    text-align: left;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--legacy-yellow);
    text-shadow: 0 0 26px rgba(255, 212, 0, 0.7);
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 22px;
}

/* GLASS CARDS */

.glass-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.glass-col {
    flex: 1 1 260px;
}

.glass-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 20px 18px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 18px 40px rgba(0,0,0,0.75);
}

.glass-card h2 {
    font-size: 18px;
    color: var(--legacy-yellow);
    margin-bottom: 8px;
}

.glass-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* FORM ELEMENTS */

.field {
    margin-bottom: 12px;
    text-align: left;
}

.field label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
}

.field input[type="text"],
.field input[type="password"],
.field input[type="url"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus {
    border-color: var(--legacy-yellow);
    box-shadow: 0 0 0 1px rgba(255, 212, 0, 0.6);
    background: rgba(15, 23, 42, 0.95);
}

.field small {
    font-size: 11px;
    color: var(--text-muted);
}

/* BUTTONS */

.btn {
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd400, #ff8f1f);
    color: #111827;
    box-shadow: 0 16px 32px rgba(255, 212, 0, 0.65);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 44px rgba(255, 212, 0, 0.85);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(255, 212, 0, 0.7);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-main);
    border: 1px solid rgba(75, 85, 99, 0.95);
}

.btn-secondary:hover {
    background: rgba(31, 41, 55, 0.95);
}

.btn-danger {
    background: rgba(248, 113, 113, 0.16);
    color: var(--danger-strong);
    border: 1px solid rgba(248, 113, 113, 0.65);
}

.btn-danger:hover {
    background: rgba(248, 113, 113, 0.3);
}

.btn-sm {
    padding: 6px 10px;
    font-size: 12px;
}

/* ALERTS */

.alert {
    margin-top: 12px;
    border-radius: 12px;
    padding: 9px 11px;
    font-size: 13px;
    text-align: left;
}

.alert-info {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.55);
    color: #7dd3fc;
}

.alert-error {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.75);
    color: #fecaca;
}

.alert-success {
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.75);
    color: #bbf7d0;
}

/* TABLE */

.table-wrap {
    margin-top: 14px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(31, 41, 55, 0.9);
    background: rgba(15, 23, 42, 0.95);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

th,
td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
    text-align: left;
}

thead th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

tbody tr:hover {
    background: rgba(15, 23, 42, 0.9);
}

.slug-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.95);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
}

.url-cell {
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* STATUS */

.status-active {
    color: var(--success);
    font-size: 12px;
    font-weight: 500;
}

.status-suspended {
    color: var(--danger-strong);
    font-size: 12px;
    font-weight: 500;
}

/* SUSPENDED / ERROR PAGES */

.full-center {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--legacy-yellow);
    margin-bottom: 16px;
    text-shadow: 0 0 35px rgba(255, 212, 0, 0.9);
}

.hero-subtext {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.5;
}

/* RESPONSIVE */

@media (max-width: 800px) {
    body {
        padding: 24px 10px;
    }
    .app-shell {
        padding: 18px 16px 16px;
        border-radius: 20px;
    }
    .page-title {
        font-size: 20px;
        text-align: center;
    }
    .page-subtitle {
        text-align: center;
    }
    .app-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
