/* ============================================================
   ČSEtS Conference — Frontend CSS
   ============================================================ */

/* Alpine cloak */
[x-cloak] { display: none !important; }

/* ============================================================
   LAYOUT — Wrappers
   ============================================================ */

/*
 * Standard form container — centered, readable form width.
 * Max 780px is better for forms than 860px (line length).
 */
.csets-conf-wrap {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

/*
 * Wide container — dashboard, tables, board overview.
 *
 * Uses viewport-based negative margins to BREAK OUT of narrow WordPress
 * theme content columns (typically ~780px). Works as long as no ancestor
 * has overflow:hidden. The element will be as wide as the viewport minus
 * 40px padding, capped at 1240px.
 *
 * Math: width = min(1240px, 100vw - 40px)
 *       margin-left = (parent_width - desired_width) / 2
 *       → negative when desired > parent → pulls left out of column
 */
.csets-conf-wrap--wide {
    --csets-wide: min(1240px, calc(100vw - 40px));
    width: var(--csets-wide);
    margin-left: calc((100% - var(--csets-wide)) / 2);
    margin-right: 0;
    box-sizing: border-box;
}

/* ============================================================
   NOTICES
   ============================================================ */
.csets-notice {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 11px 16px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 14px;
    font-size: 0.93em;
    line-height: 1.5;
}
.csets-notice--error   { background: #fcf0f1; border-left-color: #cc1818; }
.csets-notice--success { background: #d7f5e3; border-left-color: #00a32a; }
.csets-notice--warn    { background: #fff8e5; border-left-color: #f0b849; }

.csets-error {
    color: #cc1818;
    font-size: 0.88em;
    margin: 6px 0 0;
    display: block;
}

/* ============================================================
   FORM SECTIONS (cards)
   ============================================================ */
.csets-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 14px;
    overflow: hidden;
}
.csets-section__header {
    background: #f6f7f7;
    padding: 9px 16px;
    font-weight: 700;
    font-size: 0.9em;
    border-bottom: 1px solid #ddd;
    letter-spacing: 0.01em;
    color: #3c434a;
}
.csets-section__body { padding: 16px 20px; }

/* ============================================================
   FIELDS
   ============================================================ */
.csets-field { margin-bottom: 12px; }
.csets-field:last-child { margin-bottom: 0; }

.csets-field label {
    display: block;
    font-weight: 600;
    font-size: 0.88em;
    margin-bottom: 4px;
    color: #3c434a;
}
.csets-field input[type="text"],
.csets-field input[type="email"],
.csets-field input[type="tel"],
.csets-field input[type="number"],
.csets-field input[type="date"],
.csets-field input[type="password"],
.csets-field select,
.csets-field textarea {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    font-size: 0.92em;
    box-sizing: border-box;
    background: #fff;
    color: #1d2327;
    transition: border-color 0.1s, box-shadow 0.1s;
}
.csets-field input:focus,
.csets-field select:focus,
.csets-field textarea:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(34,113,177,0.2);
}
.csets-field input[readonly] {
    background: #f6f7f7;
    color: #646970;
    cursor: default;
}
.csets-field .required { color: #cc1818; }
.csets-tooltip {
    display: block;
    font-size: 0.82em;
    color: #646970;
    margin-top: 3px;
    line-height: 1.4;
}
.csets-field-error {
    display: block;
    color: #cc1818;
    font-size: 0.83em;
    margin-top: 3px;
}

/* Checkbox / radio inline label */
.csets-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 14px;
    font-weight: normal;
    cursor: pointer;
    font-size: 0.91em;
}

/* Compact field — checkbox/radio rows */
.csets-field--compact {
    margin-bottom: 7px;
}
.csets-field--compact label {
    font-weight: normal;
    font-size: 0.91em;
    display: flex;
    align-items: baseline;
    gap: 7px;
    cursor: pointer;
}
.csets-field--compact:last-child { margin-bottom: 0; }

/* Narrow field (IČ, short codes) */
.csets-field--narrow { max-width: 220px; }

/* ============================================================
   FIELD GRID LAYOUTS
   ============================================================ */

/* 2-column */
.csets-fields-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
}
.csets-fields-2col .csets-field { margin-bottom: 12px; }

/* Name row: [titul | jméno | příjmení | titul za] */
.csets-fields-name-row {
    display: grid;
    grid-template-columns: 96px 1fr 1fr 120px;
    column-gap: 10px;
}
.csets-fields-name-row .csets-field { margin-bottom: 12px; }

/* City + ZIP */
.csets-fields-city-row {
    display: grid;
    grid-template-columns: 1fr 108px;
    column-gap: 14px;
}
.csets-fields-city-row .csets-field { margin-bottom: 12px; }

/* ============================================================
   AUTHORS & WORKPLACES
   ============================================================ */
.csets-authors-list,
.csets-workplaces-list { margin: 0; padding: 0; list-style: none; }

.csets-author-item,
.csets-workplace-item {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-bottom: 6px;
    padding: 7px 10px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}
.csets-author-item input,
.csets-workplace-item input { flex: 1; min-width: 0; }

.csets-remove-btn {
    background: none;
    border: none;
    color: #cc1818;
    font-size: 1em;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.7;
}
.csets-remove-btn:hover { opacity: 1; }

.csets-add-btn {
    background: none;
    border: 1px dashed #2271b1;
    color: #2271b1;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.86em;
    margin-top: 4px;
}
.csets-add-btn:hover { background: #f0f6fc; }

/* ============================================================
   FEE / PRICE
   ============================================================ */
.csets-price-display {
    background: #f0f6fc;
    border: 2px solid #2271b1;
    border-radius: 6px;
    padding: 14px 20px;
    text-align: center;
}
.csets-price-czk { font-size: 1.7em; font-weight: 700; color: #1d2327; }
.csets-price-eur { font-size: 1em; color: #646970; margin-top: 2px; }
.csets-price-hint { color: #646970; font-size: 0.82em; font-weight: normal; }

/* ============================================================
   LOGIN BOX (participant login shortcode + inline login)
   ============================================================ */
.csets-login-box {
    background: #f6f7f7;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 16px;
    max-width: 480px;
}
.csets-login-box--active {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: none;
    padding: 12px 16px;
}

/* Login type tabs (účastník / člen) */
.csets-login-tabs {
    display: flex;
    gap: 0;
    margin: -20px -20px 20px;
    border-bottom: 2px solid #ddd;
}
.csets-login-tab {
    flex: 1;
    padding: 10px 14px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 0.88em;
    font-weight: 600;
    color: #646970;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.csets-login-tab:hover { color: #1d2327; }
.csets-login-tab--active {
    color: #2271b1;
    border-bottom-color: #2271b1;
}
.csets-login-status {
    flex: 1;
    margin: 0;
    font-size: 0.92em;
    color: #3c434a;
}
.csets-login-title {
    margin: 0 0 14px;
    font-size: 1em;
    font-weight: 700;
    color: #1d2327;
}
.csets-login-help {
    color: #646970;
    font-size: 0.9em;
    margin: -8px 0 12px;
    line-height: 1.5;
}
.csets-login-success {
    padding: 12px 16px;
    background: #d7f5e3;
    border-left: 4px solid #00a32a;
    border-radius: 0 4px 4px 0;
    font-size: 0.92em;
    line-height: 1.5;
}
.csets-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

/* Inline login inside registration form login box */
.csets-login-box__title {
    margin: 0 0 12px;
    font-weight: 600;
    font-size: 0.91em;
    color: #3c434a;
}
.csets-login-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.csets-login-option__body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.csets-login-option__body strong { font-size: 0.91em; color: #1d2327; }
.csets-login-option__body span { font-size: 0.82em; color: #646970; }

.csets-inline-login { margin-top: 10px; padding-top: 12px; border-top: 1px solid #e0e0e0; }
.csets-inline-login__title { margin: 0 0 10px; font-weight: 600; font-size: 0.88em; color: #3c434a; }

.csets-login-prefilling { display: flex; align-items: center; gap: 10px; font-size: 0.92em; }
.csets-login-prefilling__spinner {
    display: inline-block;
    width: 15px; height: 15px;
    border: 2px solid #a3d9a5;
    border-top-color: #2c5f2e;
    border-radius: 50%;
    animation: csets-spin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes csets-spin { to { transform: rotate(360deg); } }

.csets-login-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.csets-btn-link {
    background: none;
    border: none;
    padding: 0;
    color: #646970;
    font-size: 0.88em;
    cursor: pointer;
    text-decoration: underline;
}
.csets-btn-link:hover { color: #1d2327; }

.csets-login-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.csets-login-row .csets-field { flex: 1; min-width: 160px; margin-bottom: 0; }

/* ============================================================
   MEALS
   ============================================================ */
.csets-meal-day {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
}
.csets-meal-day:last-child { border-bottom: none; }
.csets-meal-day__label { width: 100px; font-weight: 600; font-size: 0.87em; flex-shrink: 0; color: #3c434a; }
.csets-meal-day__meals { display: flex; gap: 14px; flex-wrap: wrap; }
.csets-meal-option { display: inline-flex; align-items: center; gap: 5px; font-weight: normal; cursor: pointer; font-size: 0.91em; }

/* ============================================================
   BUTTONS
   ============================================================ */
.csets-submit-wrap { margin-top: 18px; text-align: center; }

.csets-btn {
    display: inline-block;
    padding: 9px 26px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    line-height: 1.4;
}
.csets-btn:hover { background: #135e96; color: #fff; }
.csets-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.csets-btn--secondary {
    background: #f6f7f7;
    color: #1d2327;
    border: 1px solid #c3c4c7;
}
.csets-btn--secondary:hover { background: #e8e8e8; }
.csets-btn--small { padding: 4px 11px; font-size: 0.82em; }
.csets-btn--danger { background: #cc1818; }
.csets-btn--danger:hover { background: #a31212; }

/* ============================================================
   COUNTDOWN
   ============================================================ */
.csets-countdown { text-align: center; padding: 18px; }
.csets-countdown__inner { display: inline-flex; gap: 12px; }
.csets-countdown__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #2271b1;
    color: #fff;
    border-radius: 8px;
    padding: 13px 17px;
    min-width: 62px;
}
.csets-countdown__number { font-size: 1.8em; font-weight: 700; line-height: 1; }
.csets-countdown__label { font-size: 0.72em; opacity: 0.85; margin-top: 5px; }
.csets-countdown__expired { font-size: 1.05em; color: #cc1818; font-weight: 600; }

/* ============================================================
   REVIEWER DASHBOARD — Layout
   ============================================================ */
.csets-dash-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}
.csets-dash-user { color: #646970; font-size: 0.9em; margin-top: 0; }
.csets-dash-loading { color: #646970; font-size: 0.92em; padding: 16px 0; }

/* Section divider inside dashboard */
.csets-dash-section {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}
.csets-dash-section:first-of-type { margin-top: 16px; border-top: none; padding-top: 0; }

.csets-dash-section-title {
    font-size: 1em;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 12px;
}

/* ============================================================
   DASHBOARD TABLES
   ============================================================ */

/* Scroll wrapper — tables scroll horizontally on narrow viewports */
.csets-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fff;
}

.csets-dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.91em;
    /* min-width forces horizontal scroll instead of cramped columns */
    min-width: 560px;
}

/* Board table has 6 columns — needs more space */
#csets-board-wrap .csets-dash-table {
    min-width: 780px;
}
.csets-dash-table th {
    text-align: left;
    padding: 8px 14px;
    background: #f6f7f7;
    border-bottom: 2px solid #e0e0e0;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #646970;
    white-space: nowrap;
}
.csets-dash-table td {
    padding: 9px 14px;
    border-bottom: 1px solid #f2f2f2;
    vertical-align: middle;
}
.csets-dash-table tbody tr:last-child td { border-bottom: none; }
.csets-dash-table tbody tr:hover td { background: #f9f9f9; }

.csets-dash-title {
    font-weight: 500;
    max-width: 280px;
    word-break: break-word;
}
.csets-dash-reviewers { font-size: 0.85em; max-width: 260px; }

/* Status badges */
.csets-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 0.79em;
    font-weight: 700;
    line-height: 1.7;
    white-space: nowrap;
}
.csets-badge--done    { background: #d7f5e3; color: #005c1a; }
.csets-badge--pending { background: #fff3cd; color: #6b4200; }

/* ============================================================
   FILTER BAR (board overview)
   ============================================================ */
.csets-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: #f6f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}
.csets-filter-bar input[type="search"],
.csets-filter-bar select {
    padding: 6px 10px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    font-size: 0.88em;
    background: #fff;
    height: 32px;
    box-sizing: border-box;
}
.csets-filter-bar input[type="search"] { min-width: 200px; flex: 1; }
.csets-filter-count {
    color: #646970;
    font-size: 0.82em;
    margin-left: auto;
    white-space: nowrap;
}

/* ============================================================
   MODAL
   ============================================================ */
.csets-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px 32px;
    overflow-y: auto;
}
.csets-modal-overlay[hidden] { display: none; }

.csets-modal {
    background: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.22);
    display: flex;
    flex-direction: column;
    margin: auto; /* centers vertically when content is short */
}
.csets-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    border-radius: 8px 8px 0 0;
}
.csets-modal__title {
    flex: 1;
    margin: 0;
    font-size: 1em;
    line-height: 1.4;
    font-weight: 700;
}
.csets-modal__close {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    color: #646970;
    line-height: 1;
    padding: 3px 5px;
    flex-shrink: 0;
    border-radius: 4px;
}
.csets-modal__close:hover { background: #f0f0f0; color: #1d2327; }
.csets-modal__body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(100vh - 180px);
}

/* ============================================================
   ABSTRACT PREVIEW (in modal)
   ============================================================ */
.csets-abstract-preview {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 0.92em;
}
.csets-abstract-preview p { margin: 4px 0; }
.csets-abstract-text { line-height: 1.7; margin-top: 10px; }

/* ============================================================
   REVIEW FORM (in modal + review-form.php)
   ============================================================ */
.csets-review-form-inner h4 { margin: 0 0 6px; font-size: 0.97em; }
.csets-score-legend { margin: 0 0 10px; }

/* Scores block — bordered group */
.csets-scores-block {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 6px 14px;
    margin-bottom: 14px;
    background: #fafafa;
}

.csets-score-row {
    display: grid;
    grid-template-columns: 145px 1fr;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}
.csets-score-row:last-child { border-bottom: none; }
.csets-score-label { font-weight: 600; font-size: 0.86em; color: #3c434a; }

/* Circle radio buttons (1–5) */
.csets-score-radios { display: flex; gap: 6px; }
.csets-score-radios label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #efefef;
    font-size: 0.9em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
    user-select: none;
    position: relative;
}
.csets-score-radios label:hover { background: #d4e6f5; }
.csets-score-radios input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.csets-score-radios label:has(input:checked) { background: #2271b1; color: #fff; }

/* Review textareas */
.csets-review-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    font-size: 0.91em;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
}
.csets-review-textarea:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(34,113,177,0.2);
}

/* Board review items (modal detail) */
.csets-board-review-item {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 11px 15px;
    margin-bottom: 10px;
    background: #fafafa;
}
.csets-board-review-header { font-size: 0.88em; margin-bottom: 5px; color: #3c434a; }
.csets-board-review-text { font-size: 0.88em; color: #333; margin-top: 5px; white-space: pre-wrap; }

/* ============================================================
   UTILITY
   ============================================================ */
.csets-muted { color: #646970; font-size: 0.88em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
    .csets-conf-wrap--wide {
        --csets-wide: calc(100vw - 24px);
    }

    .csets-fields-2col,
    .csets-fields-name-row,
    .csets-fields-city-row { grid-template-columns: 1fr; }

    .csets-fields-2col .csets-field,
    .csets-fields-name-row .csets-field,
    .csets-fields-city-row .csets-field { margin-bottom: 10px; }

    .csets-field--narrow { max-width: 100%; }

    .csets-author-item { flex-wrap: wrap; }
    .csets-login-row { flex-direction: column; }
    .csets-login-option { flex-direction: column; align-items: flex-start; }

    .csets-countdown__inner { gap: 8px; }
    .csets-countdown__block { padding: 11px 13px; min-width: 54px; }
    .csets-countdown__number { font-size: 1.5em; }

    .csets-modal { border-radius: 0; }
    .csets-modal-overlay { padding: 0; align-items: flex-start; }
    .csets-modal__body { max-height: calc(100vh - 120px); }

    .csets-score-row { grid-template-columns: 110px 1fr; }
    .csets-score-radios label { width: 30px; height: 30px; }

    .csets-filter-bar { gap: 6px; }
    .csets-filter-bar input[type="search"] { min-width: 120px; }
}

@media (max-width: 480px) {
    .csets-section__body { padding: 12px 14px; }
    .csets-dash-table { min-width: 420px; font-size: 0.85em; }
    .csets-dash-table th, .csets-dash-table td { padding: 7px 10px; }
    .csets-score-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================
   CONFERENCE TAB — karta přihlášky v dashboardu
   ============================================================ */
.csets-conf-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 4px;
}
.csets-conf-card__title {
    background: #f6f7f7;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.95em;
    color: #1d2327;
}
.csets-conf-card__meta {
    padding: 12px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.csets-conf-card__row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.9em;
}
.csets-conf-card__label {
    color: #646970;
    min-width: 80px;
    flex-shrink: 0;
}
.csets-conf-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 16px;
}

/* Řádek stavu hodnocení (badge + skóre + tlačítko) */
.csets-conf-review-status {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Abstract modal — autoři a pracoviště */
.csets-abstract-authors {
    font-size: 0.9em;
    color: #3c434a;
    margin: 0 0 4px;
}
.csets-abstract-workplaces {
    font-size: 0.85em;
    color: #646970;
    font-style: italic;
    margin: 0 0 16px;
}
.csets-abstract-text {
    font-size: 0.93em;
    line-height: 1.7;
    white-space: pre-wrap;
    border-top: 1px solid #e8e8e8;
    padding-top: 14px;
    margin-top: 4px;
}
.csets-abstract-keywords {
    margin: 14px 0 0;
    font-size: 0.85em;
    color: #646970;
}

/* ============================================================
   REGISTRATION STATUS CARD (registered user)
   ============================================================ */
.csets-reg-status-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f0faf4;
    border: 1px solid #86c5a0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.csets-reg-status-card__check {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2e8a57;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: 700;
    flex-shrink: 0;
}
.csets-reg-status-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.csets-reg-status-card__body strong {
    font-size: 1.05em;
    color: #1d4e2c;
}
.csets-reg-status-card__body span {
    font-size: 0.88em;
    color: #3a6b4d;
}
@media (max-width: 600px) {
    .csets-reg-status-card { flex-wrap: wrap; }
    .csets-reg-status-card .csets-btn { width: 100%; text-align: center; }
}

/* ============================================================
   REGISTRATION LOGIN HINT ("Already registered? Log in →")
   ============================================================ */
.csets-reg-login-hint {
    font-size: 0.88em;
    color: #646970;
    margin-bottom: 18px;
}
.csets-reg-login-hint a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
}
.csets-reg-login-hint a:hover { text-decoration: underline; }

/* ============================================================
   NAV USER ICON (wp_nav_menu injection)
   ============================================================ */
.csets-nav-user {
    position: relative;
    list-style: none;
}
.csets-nav-user__toggle {
    display: flex !important;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
}
.csets-nav-user__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    vertical-align: middle;
}
.csets-nav-user__name {
    font-size: 0.88em;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
