/* Order finder (Claim with receipt / Check existing order).
   Shared by the home page #check-order section and /check-order
   (public/check-order/index.html); logic in js/check-order.js. */
.status-lookup { width: 100%; }
.status-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.status-tab {
    padding: 0.5rem 1rem;
    font-family: 'JetBrains Mono', 'PingFang TC', 'Hiragino Sans CJK TC', 'Heiti TC', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', monospace;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}
.status-tab.active {
    color: #a855f7;
    border-color: rgba(168,85,247,0.4);
    background: rgba(168,85,247,0.1);
}
.status-input-row { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.status-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-family: 'JetBrains Mono', 'PingFang TC', 'Hiragino Sans CJK TC', 'Heiti TC', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', monospace;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}
.status-input:focus { border-color: #a855f7; }
.status-btn {
    padding: 0.75rem 1.25rem;
    font-family: 'JetBrains Mono', 'PingFang TC', 'Hiragino Sans CJK TC', 'Heiti TC', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', monospace;
    font-size: 0.8rem;
    color: #a855f7;
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.3);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    white-space: nowrap;
}
.status-btn:hover {
    background: rgba(168,85,247,0.2);
    border-color: #a855f7;
}
.status-result-card {
    background: rgba(15,20,35,0.95);
    border: 1px solid rgba(168,85,247,0.2);
    border-radius: 12px;
    padding: 1.25rem;
}
.status-result-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-family: 'JetBrains Mono', 'PingFang TC', 'Hiragino Sans CJK TC', 'Heiti TC', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', monospace;
    font-size: 0.8rem;
}
.status-result-row:last-child { border-bottom: none; }
.status-result-label { color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; font-size: 0.7rem; }
.status-result-value { color: #fff; text-align: right; }
.status-result-value.paid { color: #22c55e; }
.status-result-value.active { color: #22c55e; }
.status-result-value.revoked { color: #ff6464; }
.status-error {
    font-family: 'JetBrains Mono', 'PingFang TC', 'Hiragino Sans CJK TC', 'Heiti TC', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', monospace;
    font-size: 0.8rem;
    color: #ff6464;
    padding: 0.75rem;
    background: rgba(255,100,100,0.1);
    border-radius: 8px;
}
.status-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.status-action-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-family: 'JetBrains Mono', 'PingFang TC', 'Hiragino Sans CJK TC', 'Heiti TC', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', monospace;
    font-size: 0.8rem;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: #a855f7;
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.3);
}
.status-action-btn:hover {
    background: rgba(168,85,247,0.2);
    border-color: #a855f7;
    box-shadow: 0 0 15px rgba(168,85,247,0.2);
}
.status-action-btn--alt {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
}
.status-action-btn--alt:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    box-shadow: none;
}
.status-reg-divider {
    border-top: 1px dashed rgba(255,255,255,0.1);
    margin: 0.75rem 0 0.5rem;
    padding-top: 0.5rem;
    font-family: 'JetBrains Mono', 'PingFang TC', 'Hiragino Sans CJK TC', 'Heiti TC', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', monospace;
    font-size: 0.7rem;
    color: rgba(168,85,247,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 500px) {
    /* Side by side, the input was only ~176px and cut the example
       receipt/UDID off mid-string. Stack so it gets the full width. */
    .status-input-row { flex-direction: column; }
    .status-btn { justify-content: center; }
}
