/* helpdesk.itguru.support: additions to the itguru.support stylesheet (style.css).
   Everything else (header, hero, contact band, form card, footer) is the main site's. */

/* contact band: a little more room for the longer form */
.contact.helpdesk{padding:64px 0 80px}
.contact.helpdesk .cgrid{grid-template-columns:5fr 6fr}
.hd-side .row span{line-height:1.45}

/* three selects side by side */
form.cform .frow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
form.cform select{appearance:none;-webkit-appearance:none;padding-right:34px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C4B5FD' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center}
form.cform select:invalid{color:#9d90c4}
form.cform textarea{resize:vertical;min-height:140px}
form.cform .formnote a.u{color:var(--pale);border-bottom:1px solid rgba(196,181,253,.35)}

/* priority guide */
.prio{margin-top:30px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:18px 20px}
.prio h3{color:#fff;font-size:15px;font-weight:700;margin-bottom:10px}
.prio dl{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;font-size:14px}
.prio dt{color:#fff;font-weight:600;display:flex;align-items:center;gap:8px;white-space:nowrap}
.prio dd{color:#D6CCF0}
.prio .dot{width:9px;height:9px;border-radius:50%;display:inline-block}
.prio .dot.low{background:#8EE3B5}.prio .dot.med{background:#F5D76E}
.prio .dot.high{background:#F5A05A}.prio .dot.crit{background:#F26B6B}

/* mascot under the guide */
.hd-guru{margin-top:28px}
.hd-guru-img{width:210px;filter:drop-shadow(0 20px 44px rgba(124,58,237,.4))}

/* human-check widget (ALTCHA) on the dark form card */
form.cform altcha-widget{display:block;margin:2px 0 16px;
  --altcha-color-base:rgba(255,255,255,.06);--altcha-color-border:rgba(255,255,255,.16);
  --altcha-color-text:#fff;--altcha-color-border-focus:var(--lav);--altcha-color-error-text:#ffb4b4;
  --altcha-border-radius:10px;--altcha-max-width:100%}
form.cform altcha-widget input{width:auto;margin:0;padding:0;background:revert;border:revert;border-radius:revert;accent-color:var(--lpurple)}
form.cform altcha-widget label{display:inline;margin:0;font-size:14px;color:#fff;font-weight:500}

@media(max-width:900px){
  .contact.helpdesk .cgrid{grid-template-columns:1fr}
  .hd-guru{display:none}
}
@media(max-width:600px){
  form.cform .frow{grid-template-columns:1fr;gap:0}
}
/* on phones the form comes first; the guide follows it */
@media(max-width:900px){ .contact.helpdesk form.cform{order:-1} }

/* attachments: drop zone + list */
form.cform .opt{font-weight:400;color:#9d90c4}
.drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  min-height:190px;padding:26px 20px;margin-bottom:12px;text-align:center;cursor:pointer;
  border:2px dashed rgba(196,181,253,.45);border-radius:14px;background:rgba(255,255,255,.035);
  color:#D6CCF0;font-size:14px;transition:border-color .15s,background .15s,transform .15s}
.drop:hover,.drop:focus-visible{border-color:var(--lav);background:rgba(124,58,237,.12);outline:none}
.drop .drop-ic{width:46px;height:46px;color:var(--lav);margin-bottom:2px}
.drop .drop-title{color:#fff;font-size:16.5px;font-weight:700}
.drop .drop-or{color:#9d90c4;font-size:13px}
.drop .drop-btn{display:inline-block;padding:9px 18px;border-radius:10px;border:1.5px solid var(--lav);
  color:#fff;font-weight:600;font-size:14px;background:rgba(124,58,237,.25);transition:background .15s}
.drop:hover .drop-btn{background:rgba(124,58,237,.45)}
.drop .drop-paste{margin-top:6px;font-size:13px;color:#D6CCF0}
.drop kbd{font-family:inherit;font-size:12px;padding:1px 6px;border-radius:5px;border:1px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.08);color:#fff}
.drop .drop-hint{font-size:12.5px;color:#9d90c4}
/* drop state: a file is being dragged over the page (hd-dragging) or over the form (over) */
.drop .drop-overlay{position:absolute;inset:0;border-radius:12px;display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:700;color:#fff;background:rgba(109,40,217,.82);opacity:0;pointer-events:none;transition:opacity .12s}
body.hd-dragging .drop{border-color:var(--lav);background:rgba(124,58,237,.14)}
.drop.over{border-color:#fff;transform:scale(1.01)}
.drop.over .drop-overlay{opacity:1}
.att-list{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:8px}
.att-list:empty{display:none}
.att-list li{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:10px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.att-thumb{width:44px;height:44px;flex:none;border-radius:7px;object-fit:cover;background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:var(--pale);letter-spacing:.5px}
.att-meta{display:flex;flex-direction:column;min-width:0;flex:1}
.att-name{color:#fff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.att-size{color:#9d90c4;font-size:12.5px}
.att-rm{flex:none;width:30px;height:30px;border-radius:8px;border:1px solid rgba(255,255,255,.18);background:transparent;
  color:#fff;font-size:18px;line-height:1;cursor:pointer}
.att-rm:hover{background:rgba(220,80,80,.25);border-color:#e88}
