/* ===============================
   GRID ARCADE – DESIGN SYSTEM
   =============================== */

:root {
    /* Színek */
    --bg-main: #0b0f1a;
    --bg-panel: rgba(18, 26, 47, 0.92);
    --border-main: #1f2a48;

    --text-main: #e5e7eb;
    --text-muted: #9ca3af;

    --accent-blue: #3b82f6;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-gold: #facc15;

    /* Méretek */
    --radius: 14px;
    --radius-sm: 10px;

    /* Effekt */
    --glow-blue: 0 0 15px rgba(59,130,246,.35);
    --glow-green: 0 0 15px rgba(34,197,94,.35);
    --glow-gold: 0 0 15px rgba(250,204,21,.35);
}

/* ===============================
   ALAP LAYOUT
   =============================== */

.page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.menu,
.panel,
.card {
    background: var(--bg-panel);
    border: 1px solid var(--border-main);
    border-radius: var(--radius);
    box-shadow: var(--glow-blue);
    padding: 20px;
    color: var(--text-main);
}

/* ===============================
   FEJLÉC / NAV
   =============================== */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.logo {
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: var(--glow-blue);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===============================
   GOMBOK
   =============================== */

.btn {
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .12s, box-shadow .12s, opacity .12s;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    box-shadow: var(--glow-blue);
}

.btn-success {
    background: var(--accent-green);
    color: #052e16;
    box-shadow: var(--glow-green);
}

.btn-danger {
    background: var(--accent-red);
    color: #450a0a;
}

.btn-disabled {
    opacity: .4;
    pointer-events: none;
}

/* ===============================
   BADGE
   =============================== */

.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.badge-premium {
    background: rgba(250,204,21,.15);
    color: var(--accent-gold);
    box-shadow: var(--glow-gold);
}

/* ===============================
   TÁBLÁZAT (ADMIN)
   =============================== */

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.table th,
.table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-main);
    text-align: left;
}

.table th {
    color: var(--text-muted);
}

/* ===============================
   MOBIL
   =============================== */

@media (max-width: 700px) {
    .table,
    .table thead,
    .table tbody,
    .table th,
    .table td,
    .table tr {
        display: block;
    }

    .table tr {
        margin-bottom: 14px;
        background: rgba(0,0,0,.25);
        padding: 10px;
        border-radius: var(--radius-sm);
    }

    .table th {
        display: none;
    }

    .table td {
        border: none;
        padding: 6px 0;
    }
}
