.tqs-oc-wrap {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    font-family: inherit;
    color: #1e293b;
    box-sizing: border-box;
}

.tqs-oc-head { margin-bottom: 18px; }
.tqs-oc-title { margin: 0 0 6px; font-size: 1.25rem; font-weight: 800; color: #1e293b; }
.tqs-oc-desc { margin: 0; font-size: 0.85rem; color: #64748b; line-height: 1.55; }

.tqs-oc-form { margin-bottom: 4px; }
.tqs-oc-label { display: block; font-size: 0.8rem; font-weight: 600; color: #374151; margin-bottom: 6px; }
.tqs-oc-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.tqs-oc-input:focus { outline: none; border-color: #2f6bff; box-shadow: 0 0 0 3px rgba(47,107,255,0.15); }

.tqs-oc-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 13px;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    font-family: inherit;
    cursor: pointer;
    background: linear-gradient(135deg, #2f6bff, #38bdf8);
    box-shadow: 0 4px 14px rgba(29,78,216,0.25);
    transition: all 0.2s;
}
.tqs-oc-btn:hover { background: linear-gradient(135deg, #2563eb, #0ea5e9); transform: translateY(-1px); box-shadow: 0 7px 20px rgba(29,78,216,0.35); }
.tqs-oc-btn:active { transform: translateY(0); }
.tqs-oc-btn:disabled { opacity: 0.7; cursor: default; transform: none; }

.tqs-oc-msg {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-top: 14px;
}

.tqs-oc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tqs-oc-chip {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}
.tqs-oc-chip:hover { border-color: #cbd5e1; }
.tqs-oc-chip.active { background: #2f6bff; border-color: #2f6bff; color: #fff; }

.tqs-oc-results { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.tqs-oc-empty { text-align: center; color: #94a3b8; font-size: 0.85rem; padding: 18px 0; }

.tqs-oc-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
}
.tqs-oc-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tqs-oc-card-left { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tqs-oc-card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }

.tqs-oc-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}
.tqs-oc-badge-premium  { background: #fef3c7; color: #92400e; }
.tqs-oc-badge-exchange { background: #dcfce7; color: #15803d; }
.tqs-oc-badge-boost    { background: #fce7f3; color: #be185d; }
.tqs-oc-badge-game     { background: #e0e7ff; color: #4338ca; }

.tqs-oc-code { font-family: monospace; font-weight: 700; color: #1e293b; font-size: 0.9rem; word-break: break-all; }
.tqs-oc-amount { font-size: 0.9rem; font-weight: 800; color: #1d4ed8; white-space: nowrap; }

.tqs-oc-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}
.tqs-oc-st-pending    { background: #fef3c7; color: #92400e; }
.tqs-oc-st-processing { background: #dbeafe; color: #1e40af; }
.tqs-oc-st-completed  { background: #d1fae5; color: #065f46; }
.tqs-oc-st-cancelled  { background: #fee2e2; color: #991b1b; }

.tqs-oc-info { display: flex; flex-direction: column; gap: 5px; border-top: 1px dashed #e2e8f0; padding-top: 10px; }
.tqs-oc-line { display: flex; gap: 8px; font-size: 0.8rem; line-height: 1.5; }
.tqs-oc-line-label { flex-shrink: 0; min-width: 78px; color: #94a3b8; font-weight: 600; }
.tqs-oc-line-value { color: #475569; word-break: break-word; }
.tqs-oc-line-link { color: #1d4ed8; text-decoration: none; word-break: break-all; }
.tqs-oc-line-link:hover { text-decoration: underline; }

.tqs-oc-note {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 9px 11px;
}
.tqs-oc-note-label { font-size: 0.72rem; font-weight: 700; color: #047857; margin-bottom: 3px; }
.tqs-oc-note-text { font-size: 0.82rem; color: #065f46; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }

@media (max-width: 480px) {
    .tqs-oc-wrap { padding: 18px; }
    .tqs-oc-card-top { flex-direction: column; }
    .tqs-oc-card-right { align-items: flex-start; }
}

/* ── Thẻ khoá OTP (đổi tiền + Premium) ── */
.tqs-oc-locked {
    border: 1.5px dashed #c7d2fe;
    background: linear-gradient(180deg, #f5f7ff 0%, #ffffff 100%);
}
.tqs-oc-locked-head { font-size: 1rem; color: #1e293b; margin-bottom: 4px; }
.tqs-oc-locked-desc { font-size: 0.82rem; color: #64748b; line-height: 1.5; margin-bottom: 10px; }
.tqs-oc-otp-btn {
    padding: 10px 16px; border: none; border-radius: 9px; cursor: pointer;
    font-family: inherit; font-size: 0.88rem; font-weight: 700;
    background: linear-gradient(135deg, #2f6bff 0%, #1d4ed8 100%); color: #fff;
}
.tqs-oc-otp-btn:hover { filter: brightness(1.05); }
.tqs-oc-otp-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.tqs-oc-otp-sent { font-size: 0.82rem; color: #15803d; margin-bottom: 8px; }
.tqs-oc-otp-row { display: flex; gap: 8px; margin-bottom: 8px; }
.tqs-oc-otp-input {
    flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid #e2e8f0; border-radius: 9px;
    font-family: inherit; font-size: 1.1rem; letter-spacing: 4px; text-align: center; color: #1e293b;
}
.tqs-oc-otp-input:focus { outline: none; border-color: #2f6bff; }
.tqs-oc-otp-resend {
    background: none; border: none; color: #2f6bff; font-family: inherit; font-size: 0.8rem;
    font-weight: 600; cursor: pointer; padding: 2px 0; text-decoration: underline;
}
.tqs-oc-otp-resend:disabled { color: #94a3b8; cursor: not-allowed; text-decoration: none; }
.tqs-oc-otp-msg { margin-top: 6px; font-size: 0.8rem; color: #dc2626; }
