/* MaeloWOW — Support Tickets (Login > Support Tickets). Mismo estilo que los paneles de la cuenta: azul hielo + oro de WoW. 21/10/2026 */
.panel-card.wt-card { max-width: 760px; text-align: left; }
.wt-card h2 { text-align: center; }
.wt-tabs { display: flex; gap: 8px; margin: 0 0 16px; }
.panel-card .wt-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 12px; border-radius: 6px; cursor: pointer;
  border: 1px solid #35506a; background: rgba(8, 17, 27, .8); color: #bccddd; font: 800 12px Inter, system-ui, sans-serif; text-transform: uppercase; letter-spacing: 1.5px; }
.panel-card .wt-tab:hover { border-color: #8a6a2c; color: #fff; background: rgba(14, 28, 42, .95); }
.panel-card .wt-tab.on:hover { color: #081118; background: linear-gradient(135deg, #c8962a 0%, #e0aa3a 50%, #f0c050 75%, #d8a030 100%); }
.panel-card .wt-tab.on { border-color: #e0aa3a; color: #081118; background: linear-gradient(135deg, #9a6e15 0%, #c8962a 40%, #e0aa3a 70%, #c8962a 100%); box-shadow: 0 2px 16px rgba(200, 150, 42, .35); }
.wt-globo { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #d64040; color: #fff; font: 700 11px/18px Inter, sans-serif; text-align: center; box-sizing: border-box; }
.wt-globo[hidden] { display: none; }
.panel-action-btn .wt-globo { margin-left: 6px; }
.wt-vacio { text-align: center; color: #8aa4ba; padding: 26px 10px; }
.wt-vacio img { width: 48px; height: 48px; border-radius: 8px; display: block; margin: 0 auto 10px; box-shadow: 0 0 0 2px rgba(0,0,0,.7), 0 0 0 3px rgba(201,168,76,.5); }
/* lista */
.wt-lista { display: grid; gap: 8px; }
.panel-card .wt-item { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 11px 14px; border-radius: 8px; cursor: pointer;
  background: rgba(8, 17, 27, .75); border: 1px solid #23384c; border-left: 3px solid var(--wt-c, #35506a); transition: border-color .15s, background .15s; }
.panel-card .wt-item:hover, .panel-card .wt-item:focus-visible { background: rgba(14, 28, 42, .9); border-color: #8a6a2c; border-left-color: var(--wt-c, #35506a); }
.wt-item-tit { color: #fff; font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wt-item-meta { grid-column: 1 / -1; color: #8aa4ba; font-size: 12px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.wt-nueva { color: #f0c75e; font-weight: 700; }
.wt-est { display: inline-block; padding: 2px 9px; border-radius: 99px; font: 700 11px Inter, sans-serif; color: var(--wt-c); white-space: nowrap; align-self: start;
  background: color-mix(in srgb, var(--wt-c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--wt-c) 40%, transparent); }
.wt-Pending { --wt-c: #f0a24e; } .wt-Open { --wt-c: #6fb3ff; } .wt-Resolved { --wt-c: #6fe39a; } .wt-Closed { --wt-c: #94a3b8; }
/* formulario */
.wt-form label.wt-et { display: block; margin: 12px 0 6px; color: #f0c75e; font-weight: 600; font-size: 13px; }
.wt-form label.wt-et small { color: #8aa4ba; font-weight: 400; }
.wt-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wt-cat { position: relative; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; cursor: pointer; border: 1px solid #23384c;
  background: rgba(8, 17, 27, .75); color: #d8e4ef; font-size: 13px; font-weight: 600; }
.wt-cat input { position: absolute; opacity: 0; pointer-events: none; }
.wt-cat img { width: 26px; height: 26px; border-radius: 5px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.7), 0 0 0 2px rgba(201,168,76,.4); }
.wt-cat:hover { border-color: #8a6a2c; }
.wt-cat:has(input:checked) { border-color: #f0c75e; background: linear-gradient(180deg, rgba(240, 199, 94, .16), rgba(8, 17, 27, .85)); color: #fff; }
.wt-cat:has(input:focus-visible) { outline: 2px solid #8fd0ff; outline-offset: 2px; }
.wt-form input[type=text], .wt-form select, .wt-form textarea, .wt-resp textarea {
  display: block; width: 100%; box-sizing: border-box; padding: 9px 10px; font: 15px Inter, system-ui, sans-serif; color: #fff; background: #08111b;
  border: 1px solid #35506a; border-radius: 6px; margin: 0; }
.wt-form textarea, .wt-resp textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.wt-resp textarea { min-height: 80px; }
.wt-form input:focus, .wt-form select:focus, .wt-form textarea:focus, .wt-resp textarea:focus { outline: none; border-color: #f0c75e; }
.wt-cuenta { text-align: right; color: #8aa4ba; font-size: 11px; margin-top: 3px; }
.wt-cuenta.mal { color: #ff7b86; }
.wt-ayuda { color: #8aa4ba; font-size: 12px; margin: 6px 0 0; }
/* imagenes */
.wt-drop { margin-top: 6px; padding: 12px; border: 1px dashed #35506a; border-radius: 8px; text-align: center; color: #8aa4ba; font-size: 13px; cursor: pointer; background: rgba(8, 17, 27, .5); }
.wt-drop:hover, .wt-drop.encima, .wt-drop:focus-visible { border-color: #f0c75e; color: #f0c75e; outline: none; }
.wt-drop input { display: none; }
.wt-minis { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.wt-mini { position: relative; width: 92px; height: 68px; border-radius: 6px; overflow: hidden; border: 1px solid #35506a; background: #000; }
.wt-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel-card .wt-mini button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .75); color: #fff; font-size: 14px; line-height: 22px; cursor: pointer; }
.wt-enviar { margin-top: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.wt-enviar .btn { min-width: 160px; justify-content: center; }
.wt-enviar .wow-msg { flex: 1; }
/* conversacion */
.wt-conv-cab { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid #23384c; }
.wt-conv-tit { color: #fff; font: 700 17px 'Friz Quadrata', 'Cinzel', Georgia, serif; word-break: break-word; }
.wt-conv-meta { color: #8aa4ba; font-size: 12px; margin-top: 4px; }
.panel-card .wt-volver { all: unset; cursor: pointer; color: #f0c75e; font-size: 13px; display: inline-block; margin-bottom: 10px; }
.wt-hilo { display: flex; flex-direction: column; gap: 12px; padding: 14px 0; max-height: 52vh; overflow-y: auto; }
.wt-msj { max-width: 86%; display: flex; flex-direction: column; gap: 4px; }
.wt-msj.staff { align-self: flex-end; align-items: flex-end; }
.wt-quien { font-size: 12px; color: #8aa4ba; }
.wt-quien b { color: #d8e4ef; }
.wt-msj.staff .wt-quien b { color: #f0c75e; }
.wt-texto { padding: 10px 13px; border-radius: 10px; border-bottom-left-radius: 3px; font-size: 14px; line-height: 1.5; color: #e8f0f7; white-space: pre-wrap; word-break: break-word;
  background: rgba(14, 28, 42, .95); border: 1px solid #23384c; }
.wt-msj.staff .wt-texto { background: linear-gradient(180deg, rgba(240, 199, 94, .14), rgba(30, 24, 10, .9)); border-color: rgba(240, 199, 94, .45); border-radius: 10px; border-bottom-right-radius: 3px; }
.wt-imgs { display: flex; gap: 6px; flex-wrap: wrap; }
.wt-imgs a { display: block; width: 130px; height: 88px; border-radius: 6px; overflow: hidden; border: 1px solid #35506a; background: #000; cursor: zoom-in; }
.wt-imgs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wt-resp { border-top: 1px solid #23384c; padding-top: 12px; }
.wt-aviso { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: rgba(8, 17, 27, .8); border: 1px solid #23384c; color: #8aa4ba; font-size: 13px; text-align: center; }
.panel-card .wt-btn-sec { all: unset; cursor: pointer; padding: 8px 14px; border-radius: 6px; border: 1px solid #2f6b4a; color: #6fe39a; font: 600 13px Inter, sans-serif; }
.panel-card .wt-btn-sec:hover { background: rgba(111, 227, 154, .1); }
/* visor de imagen */
.wt-visor { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .85); cursor: zoom-out; }
.wt-visor img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 0 30px #000; }
@media (max-width: 600px) {
  .wt-cats { grid-template-columns: 1fr 1fr; }
  .wt-msj { max-width: 100%; }
  .wt-imgs a { width: 104px; height: 72px; }
}
