/* Support tickets (user side). Scoped to #ticketsFull and the small entry button inside the support chat header. */
.tk-open { position: relative; background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .45); color: #fbbf24; border-radius: 20px; padding: 5px 12px; font-size: .74rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tk-open i { font-size: .8rem !important; }
.tk-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, .8); vertical-align: middle; }
.tk-open .tk-dot { position: absolute; top: -2px; inset-inline-end: -2px; }
#ticketsFull .tk-hdr { display: flex; align-items: center; gap: 12px; }
#ticketsFull .tk-hdr button { background: transparent; border: 1px solid #2a3650; color: #8896b0; border-radius: 16px; padding: 4px 10px; font-size: .72rem; cursor: pointer; }
#ticketsFull .tk-body { flex: 1; overflow-y: auto; padding: 14px 0; display: flex; flex-direction: column; gap: 10px; color: #e6ecf8; }
#ticketsFull .tk-new, #ticketsFull .tk-send { border: 0; border-radius: 12px; padding: 12px; font-weight: 800; font-size: .92rem; color: #0b0e1a; background: linear-gradient(135deg, #fbbf24, #d97706); cursor: pointer; }
#ticketsFull .tk-back { align-self: flex-start; background: transparent; border: 0; color: #fbbf24; font-size: .82rem; cursor: pointer; padding: 0; }
#ticketsFull .tk-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(0, 0, 0, .3); border: 1px solid #232c45; border-radius: 12px; padding: 11px 12px; cursor: pointer; }
#ticketsFull .tk-row-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#ticketsFull .tk-row-main b { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ticketsFull .tk-row-main span { font-size: .68rem; color: #8896b0; }
#ticketsFull .tk-st { font-size: .66rem; font-weight: 700; padding: 3px 9px; border-radius: 12px; white-space: nowrap; }
#ticketsFull .tk-st.open { background: rgba(251, 191, 36, .14); color: #fbbf24; }
#ticketsFull .tk-st.answered { background: rgba(34, 197, 94, .14); color: #4ade80; }
#ticketsFull .tk-st.closed { background: rgba(148, 163, 184, .14); color: #94a3b8; }
#ticketsFull .tk-empty { text-align: center; color: #6b7690; font-size: .82rem; padding: 26px 8px; }
#ticketsFull .tk-note { text-align: center; color: #6b7690; font-size: .68rem; line-height: 1.7; padding: 6px 10px; }
#ticketsFull .tk-lbl { font-size: .76rem; font-weight: 700; color: #fbbf24; margin-top: 4px; }
#ticketsFull select, #ticketsFull input#tkSubject, #ticketsFull textarea { width: 100%; background: rgba(0, 0, 0, .4); border: 1px solid #2a3650; color: #fff; border-radius: 10px; padding: 10px; font-size: .85rem; font-family: inherit; }
#ticketsFull textarea { resize: vertical; }
#ticketsFull .tk-attach { display: flex; align-items: center; gap: 10px; font-size: .72rem; color: #8896b0; }
#ticketsFull .tk-attach button { background: rgba(251, 191, 36, .1); color: #fbbf24; border: 1px solid rgba(251, 191, 36, .4); border-radius: 9px; padding: 6px 12px; cursor: pointer; font-size: .74rem; }
#ticketsFull .tk-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#ticketsFull .tk-head b { font-size: .95rem; }
#ticketsFull .tk-msgs { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow-y: auto; padding: 4px 0; }
#ticketsFull .tk-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: .84rem; line-height: 1.7; word-break: break-word; }
#ticketsFull .tk-msg small { display: block; font-size: .62rem; opacity: .7; margin-bottom: 3px; }
#ticketsFull .tk-msg.user { align-self: flex-end; background: #fbbf24; color: #0b0e1a; }
#ticketsFull .tk-msg.admin { align-self: flex-start; background: #1e273f; border-inline-start: 3px solid #fbbf24; }
#ticketsFull .tk-att { display: block; margin-top: 6px; background: rgba(0, 0, 0, .18); border: 0; color: inherit; border-radius: 8px; padding: 5px 9px; font-size: .72rem; cursor: pointer; text-align: start; }
#ticketsFull .tk-actions { display: flex; gap: 8px; }
#ticketsFull .tk-actions .tk-send { flex: 1; }
#ticketsFull .tk-closebtn { background: transparent; border: 1px solid #2a3650; color: #8896b0; border-radius: 12px; padding: 0 14px; font-size: .78rem; cursor: pointer; }
#ticketsFull .tk-closed { text-align: center; color: #94a3b8; font-size: .8rem; padding: 12px; background: rgba(148, 163, 184, .08); border-radius: 10px; }
