/* === TICKET CONFIRMATION CARD === */
.sc-confirmation-card {
    text-align: center;
    padding: 48px 32px;
    max-width: 540px;
    margin: 0 auto;
}
.sc-confirmation-icon {
    font-size: 56px;
    margin-bottom: 12px;
}
.sc-confirmation-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}
.sc-confirmation-ref {
    display: inline-block;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #f97316;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.3);
    padding: 8px 24px;
    border-radius: 8px;
    margin: 8px 0 20px;
}
.sc-confirmation-msg {
    font-size: 16px;
    color: #b0b8c8;
    line-height: 1.6;
    margin-bottom: 24px;
}
.sc-confirmation-method {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.3);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 15px;
    color: #c4b5fd;
}
.sc-confirmation-method strong {
    color: #a78bfa;
}
.sc-confirmation-divider {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 28px 0;
}
.sc-confirmation-next {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
}
.sc-confirmation-next a {
    color: #8b5cf6;
    text-decoration: none;
}
.sc-confirmation-next a:hover {
    text-decoration: underline;
}
.sc-confirmation-card .sc-glpi-btn {
    margin-top: 20px;
}

/* === CONTACT PREFERENCES — PRIORITY ORDERING (Account Settings) === */
.sc-prefs-card {
    max-width: 480px;
}
.sc-prefs-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}
.sc-pref-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 8px;
    cursor: grab;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}
.sc-pref-item:hover {
    border-color: #8b5cf6;
}
.sc-pref-item.active {
    border-color: #8b5cf6;
    background: rgba(139,92,246,0.06);
}
.sc-pref-item.dragging {
    opacity: 0.5;
    border-color: #8b5cf6;
}
.sc-pref-drag {
    color: #4b5563;
    font-size: 16px;
    cursor: grab;
    flex-shrink: 0;
}
.sc-pref-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.sc-pref-rank-1 { background: #8b5cf6; color: #fff; }
.sc-pref-rank-2 { background: #374151; color: #9ca3af; }
.sc-pref-rank-3 { background: #374151; color: #9ca3af; }
.sc-pref-icon {
    font-size: 22px;
    flex-shrink: 0;
}
.sc-pref-info {
    flex: 1;
    min-width: 0;
}
.sc-pref-name {
    font-size: 15px;
    font-weight: 600;
}
.sc-pref-detail {
    font-size: 12px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sc-pref-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
    border: none;
    outline: none;
}
.sc-pref-toggle.on { background: #8b5cf6; }
.sc-pref-toggle.off { background: #374151; }
.sc-pref-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.2s;
}
.sc-pref-toggle.on::after { left: 22px; }
.sc-pref-toggle.off::after { left: 2px; }
.sc-pref-hint {
    font-size: 12px;
    color: #4b5563;
    text-align: center;
    margin-top: 8px;
}

/* === CONTACT PREFERENCES — STAR PRIORITY (On Ticket Form) === */
.sc-contact-pref-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    margin-bottom: 8px;
    transition: border-color 0.2s, background 0.2s;
}
.sc-contact-pref-row.selected {
    border-color: #8b5cf6;
    background: rgba(139,92,246,0.06);
}
.sc-contact-star {
    font-size: 18px;
    cursor: pointer;
    color: #4b5563;
    flex-shrink: 0;
    transition: color 0.2s;
}
.sc-contact-star.active {
    color: #f59e0b;
}
.sc-contact-star-hint {
    font-size: 11px;
    color: #6b7280;
    margin-top: 6px;
}

/* Hide redundant page title on confirmation page */
.page-id-224 .entry-title,
.page-id-224 .wp-block-post-title,
body.page-template-default.page-id-224 header.entry-header {
    display: none !important;
}

/* Hide page titles on auth pages */
.page-id-225 .entry-title,
.page-id-225 .wp-block-post-title,
.page-id-226 .entry-title,
.page-id-226 .wp-block-post-title,
body.page-id-225 header.entry-header,
body.page-id-226 header.entry-header {
    display: none !important;
}

/* ── Contact Summary (ticket form read-only display) ── */
.sc-contact-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0 12px;
}
.sc-contact-summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 14px;
}
.sc-contact-rank {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    min-width: 22px;
}
.sc-contact-icon {
    font-size: 20px;
    min-width: 24px;
    text-align: center;
}
.sc-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.sc-contact-info strong {
    font-size: 13px;
    color: #e2e8f0;
}
.sc-contact-detail {
    font-size: 12px;
    color: #94a3b8;
}
.sc-update-contact-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    font-size: 13px;
    color: #c4b5fd !important;
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.25);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s;
}
.sc-update-contact-btn:hover {
    color: #e9d5ff !important;
    background: rgba(139,92,246,0.2);
    border-color: rgba(139,92,246,0.4);
    text-decoration: none;
}
