/* Customer self-service panel — extends admin.css with welcome + license cards */

/* Tab switcher on the combined login/register card */
.tab-row {
    display: flex;
    gap: 4px;
    background: var(--bg-canvas);
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 24px;
}
.tab-btn {
    flex: 1;
    background: transparent;
    color: var(--text-sec);
    border: none;
    padding: 9px 12px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.tab-active {
    background: var(--bg-card);
    color: var(--accent);
    box-shadow: 0 1px 0 rgba(212,175,55,0.30) inset;
}

.tab-pane { display: none; }
.tab-pane.tab-active { display: block; }
/* No min-height: let each pane size to its own content. The Sign in /
   Redeem panes have different field counts, so forcing equal heights left
   a visible empty gap below the submit button on the shorter pane. */

/* Welcome row at the top of dashboard */
.account-welcome {
    margin-bottom: 24px;
}
.account-welcome h1 {
    font-size: 28px;
    letter-spacing: -0.02em;
    margin: 0 0 4px;
    background: var(--gold-shine);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
.welcome-sub {
    color: var(--text-sec);
    font-size: 14px;
    margin: 0;
}

/* License "card" (one per row) — bigger than admin's table row */
.lic-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 18px;
    overflow: hidden;
}
.lic-card-head {
    padding: 20px 24px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.lic-key {
    font-size: 20px;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 6px;
}
.lic-sub {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-sec);
    align-items: center;
}
.lic-acts-wrap {
    padding: 6px 0;
}
.lic-acts-wrap .admin-table {
    border: none;
}
.lic-acts-wrap .admin-table thead th {
    background: transparent;
    border-bottom: 1px solid var(--border);
}

/* Help block at the bottom */
.account-help {
    margin-top: 50px;
    padding: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-lg);
}
.account-help h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--text);
}
.account-help p {
    margin: 0 0 8px;
    color: var(--text-sec);
    font-size: 14px;
    line-height: 1.6;
}
.account-help a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Empty-state styling override for account context */
.empty-state h3 {
    color: var(--text);
    margin: 0 0 8px;
    font-size: 16px;
}
.empty-state p { margin: 0 auto; max-width: 420px; }
.empty-state a { color: var(--accent); text-decoration: underline; }
