/* Public support pages (submit + track). Jhanu palette: yellow #F4C542, blue #3A7CA5. */
body.support-page {
    background: #f2f4f7;
    margin: 0;
    font-family: 'Source Sans Pro', -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #222;
}

.support-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}

.support-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    padding: 32px;
}

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

.lang-switch {
    text-align: right;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.lang-switch a {
    color: #3A7CA5;
    text-decoration: none;
    padding: 2px 6px;
    font-weight: 600;
}

.lang-switch a.active {
    color: #000;
    background: #F4C542;
    border-radius: 4px;
}

.lang-switch .lang-sep {
    color: #ccc;
}

.support-logo {
    max-height: 56px;
    margin-bottom: 12px;
}

.support-header h1 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #3A7CA5;
    margin: 0 0 8px;
}

.support-intro {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
}

.support-page .form-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-support-primary {
    background: #F4C542;
    border: none;
    color: #000;
    font-weight: 700;
    padding: 10px 18px;
}

.btn-support-primary:hover {
    background: #e6b62f;
    color: #000;
}

/* Honeypot: keep it in the DOM but out of sight and out of the tab order. */
.support-hp {
    position: absolute;
    left: -5000px;
    top: -5000px;
    height: 0;
    width: 0;
    overflow: hidden;
}

.support-success {
    text-align: center;
    padding: 12px 0;
}

.support-success-icon {
    font-size: 3rem;
    color: #2e9e5b;
    margin-bottom: 8px;
}

.support-footer {
    text-align: center;
    margin-top: 20px;
}

.support-footer a {
    color: #3A7CA5;
    text-decoration: none;
    font-size: 0.9rem;
}

.support-footer a:hover {
    text-decoration: underline;
}

/* Track page thread */
.thread {
    margin-top: 8px;
}

.thread-item {
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #e5e8ee;
}

.thread-item.staff {
    background: #eef5fa;
    border-color: #cfe2ef;
}

.thread-item.requester {
    background: #fff9ec;
    border-color: #f4e3b8;
}

.thread-item .thread-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.thread-item .thread-author {
    font-weight: 700;
}

.thread-item .thread-body {
    white-space: pre-wrap;
    word-break: break-word;
}

.badge-status {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
}

.badge-status.PENDING {
    background: #fdecea;
    color: #b02a37;
}

.badge-status.ANSWERED {
    background: #e7f1fb;
    color: #1c5a8a;
}

.badge-status.SOLVED {
    background: #e6f5ec;
    color: #1e7e44;
}
