/* AgentX — Promo Code Tracker DEMO — admin dashboard specific styles */

.login-screen {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

.hidden { display: none !important; }

/* ── Tables ── */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    font-family: 'Fira Code', monospace;
}

.admin-table th {
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(0, 200, 83, 0.7);
    border-bottom: 1px solid rgba(0, 200, 83, 0.25);
    white-space: nowrap;
}

.admin-table td {
    padding: 0.75rem 0.75rem;
    border-bottom: 1px solid rgba(0, 200, 83, 0.08);
    color: #cbd5e1;
    vertical-align: middle;
}

.admin-table tbody tr:hover td {
    background: rgba(0, 200, 83, 0.04);
}

.admin-table code {
    background: rgba(0, 200, 83, 0.1);
    color: #00C853;
    padding: 0.15rem 0.5rem;
    border-radius: 0.3rem;
    font-size: 0.78rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-active { background: rgba(0, 200, 83, 0.15); color: #00C853; }
.badge-inactive { background: rgba(255, 23, 68, 0.15); color: #FF1744; }

.link-open {
    color: #00C853;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
}
.link-open:hover { text-decoration: underline; color: #fff; }

.empty-row td {
    text-align: center;
    color: #64748b;
    padding: 1.5rem;
    font-style: italic;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
