
.tc-consent[hidden], #tc-consent-options[hidden] { display:none!important; }
.tc-consent {
  position:fixed; inset:0; z-index:99999;
  background:rgba(4,15,35,.68);
  display:flex; align-items:flex-end; justify-content:center;
  padding:18px;
}
.tc-consent-panel {
  width:min(100%,720px); padding:26px;
  background:#fff; color:#14213d;
  border-radius:18px; box-shadow:0 16px 60px rgba(0,0,0,.25);
}
.tc-consent-panel h2 { margin:0 0 12px; font-size:1.35rem; }
.tc-consent-panel p { line-height:1.6; }
#tc-consent-options { margin:18px 0; display:grid; gap:12px; }
#tc-consent-options label { display:flex; gap:10px; align-items:center; }
.tc-consent-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.tc-consent-actions button {
  padding:11px 16px; border:1px solid #1d4d88;
  border-radius:8px; cursor:pointer;
  background:white; color:#123c70; font-weight:600;
}
#tc-consent-accept, #tc-consent-save {
  background:#164b88; color:white;
}
.tc-consent-panel button:focus-visible,
.tc-consent-panel input:focus-visible {
  outline:3px solid #e0a52d; outline-offset:3px;
}
@media(max-width:600px) {
  .tc-consent-panel { padding:18px; }
  .tc-consent-actions button { flex:1 1 100%; }
}

/* ====================================================
   TC_V38B7C_CONSENT_PREMIUM
   Visual changes only – consent logic unchanged
   ==================================================== */

.tc-consent {
  background: rgba(3,14,30,.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tc-consent-panel {
  width: min(100%,740px);
  max-height: min(88vh,850px);
  overflow-y: auto;
  padding: clamp(22px,4vw,36px);
  background: linear-gradient(145deg,#fff,#f3f8fd);
  color: #18324d;
  border: 1px solid rgba(115,190,228,.35);
  border-radius: 22px;
  box-shadow: 0 25px 90px rgba(0,10,30,.38);
}

.tc-consent-panel h2 {
  font-size: clamp(1.4rem,2.8vw,1.85rem);
  letter-spacing: -.025em;
  color: #0c3152;
  margin-bottom: 12px;
}

.tc-consent-panel p {
  color: #52677b;
  line-height: 1.75;
}

#tc-consent-options {
  padding: 16px;
  border: 1px solid #dce8f2;
  border-radius: 14px;
  background: #fff;
}

#tc-consent-options label {
  padding: 8px 2px;
  color: #1a3b58;
  line-height: 1.5;
  cursor: pointer;
}

#tc-consent-options input {
  accent-color: #087eb2;
  width: 18px;
  height: 18px;
}

.tc-consent-actions {
  gap: 10px;
  margin-top: 24px;
}

.tc-consent-actions button {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #c8dce9;
  border-radius: 10px;
  background: #fff;
  color: #174366;
  font-weight: 700;
  transition: background .2s, border-color .2s;
}

.tc-consent-actions button:hover {
  background: #e9f4fb;
  border-color: #79bbdf;
}

#tc-consent-accept,
#tc-consent-save {
  background: linear-gradient(135deg,#087eaf,#15518d);
  border-color: #087eaf;
  color: #fff;
}

#tc-consent-accept:hover,
#tc-consent-save:hover {
  background: #0c6393;
  color: #fff;
}

.tc-consent-panel button:focus-visible,
.tc-consent-panel input:focus-visible {
  outline: 3px solid #d7a33e;
  outline-offset: 3px;
}

@media(max-width:600px) {
  .tc-consent { padding: 12px; }
  .tc-consent-panel { border-radius: 16px; }
  .tc-consent-actions button { flex: 1 1 100%; }
}

@media(prefers-reduced-motion:reduce) {
  .tc-consent-actions button { transition: none; }
}

/* ===================================================
   TC_V38B7E_DARK_CONSENT
   Dark Premium Cookie Panel
   =================================================== */

.tc-consent {
  background: rgba(2,9,20,.82);
}

.tc-consent-panel {
  background:
    radial-gradient(circle at 90% 0%,
      rgba(0,170,235,.1),transparent 45%),
    linear-gradient(145deg,#10253e,#091b30);
  color: #dce8f5;
  border: 1px solid rgba(97,185,231,.23);
  box-shadow: 0 25px 90px rgba(0,0,0,.5);
}

.tc-consent-panel h2 {
  color: #f0f8ff;
}

.tc-consent-panel p {
  color: #b9cadb;
}

#tc-consent-options {
  background: rgba(5,17,32,.55);
  border-color: rgba(105,185,230,.2);
}

#tc-consent-options label {
  color: #d9e7f4;
}

.tc-consent-actions button {
  background: #142d49;
  color: #e4f3ff;
  border-color: rgba(120,193,233,.3);
}

.tc-consent-actions button:hover {
  background: #1c4164;
  border-color: #62c8f6;
  color: #fff;
}

#tc-consent-accept,
#tc-consent-save {
  background: linear-gradient(135deg,#087eaf,#145b9c);
  border-color: #2097ca;
  color: #fff;
}

#tc-consent-accept:hover,
#tc-consent-save:hover {
  background: linear-gradient(135deg,#139ed5,#176cae);
  color: #fff;
}


/* TECHNICOM 38B.8C.23Q – consent reopen */
.tc-consent-reopen{margin-left:14px;background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer;}
