/* TalentCore public website. Scoped cookie consent UI, no global layout changes. */
.tc-consent-banner[hidden], .tc-consent-overlay[hidden] { display: none !important; }
.tc-consent-banner {
  position: fixed; z-index: 1200; left: 16px; right: 16px; bottom: 18px;
  color: #1b2a43; font-family: inherit;
}
.tc-consent-card {
  width: min(1140px, 100%); margin: 0 auto; padding: 19px 22px;
  background: #fff; border: 1px solid #dce5f3; border-radius: 16px;
  box-shadow: 0 22px 65px rgba(13, 28, 52, .22);
  display: flex; gap: 24px; align-items: center; justify-content: space-between;
}
.tc-consent-copy { max-width: 670px; min-width: 0; }
.tc-consent-copy strong { display: block; color: #12223c; font-size: 15px; line-height: 1.4; margin-bottom: 5px; }
.tc-consent-copy p { margin: 0 0 5px; color: #60728b; font-size: 12.5px; line-height: 1.55; }
.tc-consent-copy a { color: #2667dc; font-size: 12px; font-weight: 700; text-decoration: underline; }
.tc-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; justify-content: flex-end; }
.tc-consent-btn {
  min-height: 42px; border: 1px solid #d5e0f2; border-radius: 9px;
  padding: 9px 13px; background: #f3f7ff; color: #24405e;
  font: inherit; font-size: 12px; line-height: 1.2; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
.tc-consent-btn:hover { background: #e9f0fb; }
.tc-consent-btn:focus-visible, .tc-consent-close:focus-visible { outline: 3px solid #80a6fb; outline-offset: 2px; }
.tc-consent-btn-primary {
  border-color: transparent; color: #fff; background: linear-gradient(110deg, #4169e8, #fa8845);
  box-shadow: 0 7px 18px rgba(64, 110, 223, .13);
}
.tc-consent-btn-primary:hover { background: linear-gradient(110deg, #3059d8, #ed7636); }
.tc-consent-overlay {
  position: fixed; z-index: 1300; inset: 0;
  padding: 18px; background: rgba(11, 24, 44, .64);
  display: grid; place-items: center;
}
.tc-consent-dialog {
  width: min(555px, 100%); max-height: min(740px, calc(100vh - 36px)); overflow-y: auto;
  position: relative; background: #fff; border: 1px solid #dbe5f2;
  border-radius: 18px; box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
  padding: 26px; color: #17283f;
}
.tc-consent-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
  border: 0; border-radius: 9px; background: #edf3fb; color: #243d5b;
  font-size: 25px; cursor: pointer;
}
.tc-consent-kicker { color: #4569cf; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.tc-consent-dialog h2 { font-size: 27px; line-height: 1.15; margin: 8px 0 10px; color: #142744; }
.tc-consent-intro { margin: 0 0 15px; font-size: 13px; line-height: 1.55; color: #63758d; }
.tc-consent-option {
  display: flex; align-items: center; gap: 14px; border: 1px solid #dce5f2;
  border-radius: 12px; padding: 15px 14px; margin-top: 10px; cursor: pointer;
}
.tc-consent-option-fixed { background: #f8faff; cursor: default; }
.tc-consent-option-copy { flex: 1; min-width: 0; }
.tc-consent-option strong { display: block; font-size: 13px; color: #1b2d46; }
.tc-consent-option small { display: block; font-size: 11px; margin-top: 3px; line-height: 1.5; color: #72849b; }
.tc-consent-always { font-size: 11px; color: #138260; font-weight: 800; white-space: nowrap; }
.tc-consent-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tc-consent-toggle { width: 46px; height: 26px; background: #bbc8dc; border-radius: 22px; position: relative; flex-shrink: 0; transition: background .2s; }
.tc-consent-toggle::before { content: ''; width: 20px; height: 20px; border-radius: 50%; background: #fff; position: absolute; left: 3px; top: 3px; box-shadow: 0 2px 5px rgba(0,0,0,.18); transition: transform .2s; }
.tc-consent-option input:checked + .tc-consent-toggle { background: #446de1; }
.tc-consent-option input:checked + .tc-consent-toggle::before { transform: translateX(20px); }
.tc-consent-option:focus-within { outline: 3px solid rgba(66, 107, 230, .25); outline-offset: 2px; }
.tc-consent-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.tc-consent-modal-open { overflow: hidden; }
@media (max-width: 820px) {
  .tc-consent-banner { left: 10px; right: 10px; bottom: 10px; }
  .tc-consent-card { display: block; padding: 16px; }
  .tc-consent-actions { display: grid; grid-template-columns: 1fr; margin-top: 14px; }
  .tc-consent-actions .tc-consent-btn { width: 100%; }
  .tc-consent-dialog { padding: 23px 17px; }
  .tc-consent-dialog-actions { display: grid; grid-template-columns: 1fr; }
  .tc-consent-dialog-actions .tc-consent-btn { width: 100%; }
}
