/* ============================================
   Alliance AI — Support Portal Styles
   Dark theme: bg #0a0a0a, accent #6c63ff, white text
   ============================================ */

/* ---- Design Tokens (local overrides for support pages) ---- */
:root {
    --sp-bg:           #0a0a0a;
    --sp-bg-alt:       #111111;
    --sp-bg-card:      #161616;
    --sp-bg-card-hover:#1d1d1d;
    --sp-accent:       #6c63ff;
    --sp-accent-dim:   rgba(108, 99, 255, 0.12);
    --sp-accent-glow:  rgba(108, 99, 255, 0.25);
    --sp-accent-hover: #5a52e0;
    --sp-text:         #e2e2e2;
    --sp-text-muted:   #888888;
    --sp-text-dim:     #444444;
    --sp-white:        #ffffff;
    --sp-border:       rgba(255, 255, 255, 0.08);
    --sp-border-hover: rgba(108, 99, 255, 0.35);
    --sp-radius-sm:    6px;
    --sp-radius-md:    8px;
    --sp-radius-lg:    12px;
    --sp-radius-xl:    16px;
    --sp-radius-full:  9999px;
    --sp-transition:   all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --sp-shadow:       0 4px 24px rgba(0, 0, 0, 0.4);
    --sp-shadow-accent:0 4px 32px rgba(108, 99, 255, 0.2);
}

/* ---- Base reset helpers (scoped) ---- */
.support-main * {
    box-sizing: border-box;
}

/* ---- Page Layout ---- */
.support-main {
    padding-top: 80px;
    background: var(--sp-bg);
    min-height: 100vh;
}

/* ============================================
   HERO SECTION
   ============================================ */
.support-hero {
    position: relative;
    padding: 96px 0 80px;
    text-align: center;
    overflow: hidden;
    background: var(--sp-bg);
}

.support-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 0%,
        rgba(108, 99, 255, 0.12) 0%,
        transparent 65%);
    pointer-events: none;
}

.support-hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 200px;
    background: rgba(108, 99, 255, 0.08);
    border-radius: 50%;
    filter: blur(80px);
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.support-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}

.support-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--sp-accent-dim);
    border: 1px solid rgba(108, 99, 255, 0.25);
    color: var(--sp-accent);
    padding: 6px 18px;
    border-radius: var(--sp-radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.support-hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    font-weight: 800;
    color: var(--sp-white);
    margin-bottom: 18px;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.support-hero-subtitle {
    font-size: 1.1rem;
    color: var(--sp-text-muted);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.support-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SHARED SECTION UTILITIES
   ============================================ */
.support-section {
    padding: 80px 0;
}

.support-section-alt {
    background: var(--sp-bg-alt);
}

.support-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.support-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.support-section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sp-accent);
    margin-bottom: 10px;
}

.support-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    color: var(--sp-white);
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}

.support-section-subtitle {
    font-size: 1rem;
    color: var(--sp-text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   CARD COMPONENT
   ============================================ */
.support-card {
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-xl);
    transition: var(--sp-transition);
}

.support-card:hover {
    border-color: rgba(108, 99, 255, 0.2);
    box-shadow: var(--sp-shadow);
}

/* ============================================
   FAQ ACCORDION SECTION
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: var(--sp-bg);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--sp-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--sp-border);
}

.faq-question-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--sp-white);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s;
}

.faq-question-btn:hover {
    color: var(--sp-accent);
}

.faq-question-btn[aria-expanded="true"] {
    color: var(--sp-accent);
}

.faq-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--sp-transition);
    color: var(--sp-text-muted);
}

.faq-question-btn[aria-expanded="true"] .faq-icon {
    background: var(--sp-accent-dim);
    border-color: rgba(108, 99, 255, 0.3);
    color: var(--sp-accent);
    transform: rotate(45deg);
}

.faq-answer-wrap {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease;
    opacity: 0;
}

.faq-answer-wrap.open {
    opacity: 1;
}

.faq-answer-body {
    padding: 0 0 22px;
    color: var(--sp-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer-body a {
    color: var(--sp-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================
   SUPPORT TICKET FORM
   ============================================ */
.ticket-form-section {
    padding: 80px 0;
    background: var(--sp-bg-alt);
}

.ticket-form-card {
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-xl);
    padding: 48px;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: var(--sp-shadow);
}

.ticket-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ticket-form-full {
    grid-column: 1 / -1;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--sp-white);
    letter-spacing: 0.01em;
}

.form-label .required {
    color: var(--sp-accent);
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    background: var(--sp-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--sp-radius-md);
    padding: 11px 14px;
    color: var(--sp-text);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    line-height: 1.5;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--sp-accent);
    box-shadow: 0 0 0 3px var(--sp-accent-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--sp-text-dim);
}

.form-input.input-error,
.form-select.input-error,
.form-textarea.input-error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-select option {
    background: var(--sp-bg-card);
    color: var(--sp-text);
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
}

.form-field-error {
    font-size: 0.78rem;
    color: #f87171;
    display: none;
    margin-top: 2px;
}

.form-field.has-error .form-field-error {
    display: block;
}

/* Priority Radio Buttons */
.priority-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.priority-radio {
    position: relative;
}

.priority-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.priority-radio label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--sp-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--sp-radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sp-text-muted);
    cursor: pointer;
    transition: var(--sp-transition);
    user-select: none;
}

.priority-radio input[type="radio"]:checked + label {
    background: var(--sp-accent-dim);
    border-color: rgba(108, 99, 255, 0.4);
    color: var(--sp-accent);
}

.priority-radio label:hover {
    border-color: rgba(108, 99, 255, 0.3);
    color: var(--sp-text);
}

.priority-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.priority-dot.low    { background: #22c55e; }
.priority-dot.medium { background: #f59e0b; }
.priority-dot.high   { background: #ef4444; }

/* Submit Button */
.form-submit-wrap {
    margin-top: 28px;
}

.btn-support-submit {
    width: 100%;
    padding: 14px 28px;
    background: var(--sp-accent);
    color: #fff;
    border: none;
    border-radius: var(--sp-radius-md);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--sp-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.btn-support-submit:hover:not(:disabled) {
    background: var(--sp-accent-hover);
    box-shadow: var(--sp-shadow-accent);
    transform: translateY(-1px);
}

.btn-support-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sp-spin 0.7s linear infinite;
}

.btn-support-submit.loading .btn-spinner {
    display: block;
}

@keyframes sp-spin {
    to { transform: rotate(360deg); }
}

/* Form Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form-success.visible {
    display: block;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    background: var(--sp-accent-dim);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--sp-accent);
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sp-white);
    margin-bottom: 10px;
}

.form-success p {
    color: var(--sp-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.ticket-id-box {
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sp-accent);
    background: var(--sp-accent-dim);
    border: 1px solid rgba(108, 99, 255, 0.25);
    padding: 12px 24px;
    border-radius: var(--sp-radius-md);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

/* Form Error Banner */
.form-error-banner {
    display: none;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: var(--sp-radius-md);
    padding: 12px 16px;
    color: #fca5a5;
    font-size: 0.9rem;
    margin-top: 16px;
    text-align: center;
}

.form-error-banner.visible {
    display: block;
}

/* ============================================
   CHAT WIDGET (floating, injected by JS)
   ============================================ */

/* These classes are used by support-chat.js for the floating widget.
   All widget styles are injected via JS to remain portable,
   but support.css also provides them for progressive enhancement. */

.halie-chat-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--sp-accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.45);
    z-index: 9990;
    transition: var(--sp-transition);
    color: #fff;
}

.halie-chat-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(108, 99, 255, 0.55);
}

.halie-chat-btn.active {
    background: var(--sp-accent-hover);
}

.halie-chat-unread {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid var(--sp-bg);
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: var(--sp-transition);
}

.halie-chat-unread.show {
    opacity: 1;
    transform: scale(1);
}

.halie-chat-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 320px;
    height: 450px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9989;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    transform: translateY(16px) scale(0.97);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease;
}

.halie-chat-window.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   CONTACT INFO SECTION
   ============================================ */
.contact-info-section {
    padding: 64px 0;
    background: var(--sp-bg);
    border-top: 1px solid var(--sp-border);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.contact-card {
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-xl);
    padding: 28px 24px;
    text-align: center;
    transition: var(--sp-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-card:hover {
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 4px 24px rgba(108, 99, 255, 0.1);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    background: var(--sp-accent-dim);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-accent);
}

.contact-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sp-text-muted);
}

.contact-card-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sp-white);
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.2s;
}

.contact-card-value:hover {
    color: var(--sp-accent);
}

/* ============================================
   SHARED BUTTON STYLES (for support pages)
   ============================================ */
.btn-sp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--sp-radius-md);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--sp-transition);
    border: none;
    line-height: 1;
}

.btn-sp-primary {
    background: var(--sp-accent);
    color: #fff;
    box-shadow: 0 2px 12px rgba(108, 99, 255, 0.3);
}

.btn-sp-primary:hover {
    background: var(--sp-accent-hover);
    box-shadow: var(--sp-shadow-accent);
    transform: translateY(-1px);
}

.btn-sp-outline {
    background: transparent;
    color: var(--sp-accent);
    border: 1px solid rgba(108, 99, 255, 0.4);
}

.btn-sp-outline:hover {
    background: var(--sp-accent-dim);
    border-color: var(--sp-accent);
}

.btn-sp-ghost {
    background: transparent;
    color: var(--sp-text-muted);
    border: 1px solid var(--sp-border);
}

.btn-sp-ghost:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--sp-text);
}

/* ============================================
   ANIMATE ON SCROLL
   ============================================ */
.anim-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.anim-fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.anim-delay-1 { transition-delay: 0.05s; }
.anim-delay-2 { transition-delay: 0.1s; }
.anim-delay-3 { transition-delay: 0.15s; }
.anim-delay-4 { transition-delay: 0.2s; }

/* ============================================
   ADMIN DASHBOARD STYLES (admin/tickets.html)
   ============================================ */
.admin-body {
    background: #0a0a0a;
    color: #e2e2e2;
    font-family: 'Inter', -apple-system, sans-serif;
    min-height: 100vh;
}

.admin-header {
    background: #111;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-header-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6c63ff;
}

.admin-header-meta {
    font-size: 0.8rem;
    color: #888;
}

.admin-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: #161616;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.admin-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #6c63ff;
    line-height: 1;
    margin-bottom: 6px;
}

.admin-stat-label {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-filter-btn {
    padding: 7px 18px;
    background: #161616;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9999px;
    color: #888;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-filter-btn:hover,
.admin-filter-btn.active {
    background: rgba(108,99,255,0.12);
    border-color: rgba(108,99,255,0.35);
    color: #6c63ff;
}

.admin-export-btn {
    margin-left: auto;
    padding: 7px 18px;
    background: rgba(108,99,255,0.15);
    border: 1px solid rgba(108,99,255,0.3);
    border-radius: 9999px;
    color: #6c63ff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-export-btn:hover {
    background: rgba(108,99,255,0.25);
}

.admin-table-wrap {
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.admin-table thead {
    background: #161616;
}

.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: top;
    color: #e2e2e2;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr {
    cursor: pointer;
    transition: background 0.15s;
}

.admin-table tbody tr:hover {
    background: rgba(108,99,255,0.05);
}

.admin-table tbody tr.expanded {
    background: rgba(108,99,255,0.08);
}

.admin-row-detail {
    display: none;
    background: rgba(108,99,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.admin-row-detail.show {
    display: table-row;
}

.admin-row-detail td {
    padding: 16px 20px;
    color: #c0c0c0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.admin-detail-inner {
    background: #161616;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 14px 16px;
}

.admin-detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #666;
    margin-bottom: 6px;
}

/* Priority Badges */
.badge-priority {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-priority.low    { background: rgba(34,197,94,0.12);  color: #22c55e; }
.badge-priority.medium { background: rgba(245,158,11,0.12); color: #f59e0b; }
.badge-priority.high   { background: rgba(239,68,68,0.12);  color: #ef4444; }

/* Status Dropdown */
.status-select {
    background: #1d1d1d;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 5px 10px;
    color: #e2e2e2;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.status-select:focus {
    outline: none;
    border-color: #6c63ff;
}

.status-select.open        { color: #6c63ff; }
.status-select.in-progress { color: #f59e0b; }
.status-select.resolved    { color: #22c55e; }

/* Admin Empty State */
.admin-empty {
    text-align: center;
    padding: 60px 24px;
    color: #555;
}

.admin-empty svg {
    margin-bottom: 16px;
    opacity: 0.3;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .support-hero {
        padding: 72px 0 60px;
    }

    .support-hero-title {
        font-size: 2rem;
    }

    .support-hero-subtitle {
        font-size: 1rem;
    }

    .support-section {
        padding: 56px 0;
    }

    .ticket-form-card {
        padding: 28px 20px;
    }

    .ticket-form-grid {
        grid-template-columns: 1fr;
    }

    .ticket-form-full {
        grid-column: 1;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .faq-question-btn {
        font-size: 0.95rem;
        padding: 18px 0;
    }

    .halie-chat-window {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 90px;
    }

    .halie-chat-btn {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-table {
        font-size: 0.8rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 12px;
    }

    /* Hide less critical columns on mobile */
    .admin-col-email,
    .admin-col-date {
        display: none;
    }
}

@media (max-width: 480px) {
    .support-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-sp {
        width: 100%;
        max-width: 280px;
    }

    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .admin-stat-number {
        font-size: 1.6rem;
    }

    .priority-group {
        gap: 6px;
    }
}

/* ============================================
   SUPPORT TAB NAVIGATION
   ============================================ */
.support-tab-nav {
    display: inline-flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-full);
    padding: 5px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.support-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: var(--sp-radius-full);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: var(--sp-text-muted);
    background: transparent;
    transition: var(--sp-transition);
    white-space: nowrap;
    line-height: 1;
}

.support-tab-btn:hover {
    color: var(--sp-text);
    background: rgba(255, 255, 255, 0.06);
}

.support-tab-btn.active {
    background: var(--sp-accent);
    color: #fff;
    box-shadow: 0 2px 12px rgba(108, 99, 255, 0.35);
}

/* Tab panels */
.support-tab-panel {
    display: none;
}
.support-tab-panel.active {
    display: block;
}

/* Ticket ID success box */
.ticket-id-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--sp-accent-dim);
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: var(--sp-radius-md);
    padding: 16px 24px;
    margin: 16px 0;
}

.ticket-id-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sp-text-muted);
}

.ticket-id-value {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sp-accent);
    letter-spacing: 0.05em;
}

@media (max-width: 600px) {
    .support-tab-nav {
        width: 100%;
        border-radius: var(--sp-radius-xl);
    }
    .support-tab-btn {
        flex: 1;
        justify-content: center;
        padding: 9px 12px;
        font-size: 13px;
    }
}
