
/* Talentis Custom Cookie Consent */

[hidden] {
  display: none !important;
}

.tc-banner,
.tc-modal,
#tc-reopen {
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.tc-banner *,
.tc-modal * {
  box-sizing: border-box;
}

.tc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  background: #ffffff;
  color: #222222;
  padding: 25px 20px;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.18);
}

.tc-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.tc-inner h2 {
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #222222;
}

.tc-inner p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 12px;
}

.tc-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.tc-actions button {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  padding: 13px 20px;
  min-height: 48px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .2s ease;
}

#tc-accept,
#tc-reject {
  flex: 1 1 180px;
  background: #174b76;
  color: #ffffff;
  border: 2px solid #174b76;
}

#tc-accept:hover,
#tc-reject:hover {
  background: #103854;
}

#tc-customize {
  flex: 1 1 180px;
  background: #ffffff;
  color: #174b76;
  border: 2px solid #174b76;
}

#tc-customize:hover {
  background: #f2f6fa;
}

.tc-policy {
  margin-top: 15px !important;
  font-size: 13px !important;
}

.tc-policy a {
  color: #174b76;
  text-decoration: underline;
}

.tc-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.tc-panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  color: #222222;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
}

.tc-panel h2 {
  font-size: 23px;
  margin: 0 0 12px;
}

.tc-panel > p {
  font-size: 14px;
  line-height: 1.6;
}

.tc-close {
  position: absolute;
  right: 15px;
  top: 12px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #333333;
}

.tc-category {
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.tc-category label {
  font-size: 16px;
  cursor: pointer;
}

.tc-category input {
  float: right;
  width: 19px;
  height: 19px;
  accent-color: #174b76;
  cursor: pointer;
}

.tc-category input:disabled {
  cursor: not-allowed;
}

.tc-category p {
  clear: both;
  font-size: 13px;
  color: #555555;
  line-height: 1.6;
  margin: 10px 0 0;
}

#tc-save,
#tc-modal-reject {
  flex: 1 1 180px;
  background: #174b76;
  color: #ffffff;
  border: 2px solid #174b76;
}

#tc-reopen {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 999998;
  background: #174b76;
  color: #ffffff;
  border: 0;
  border-radius: 5px;
  padding: 11px 15px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.tc-actions button:focus-visible,
.tc-close:focus-visible,
#tc-reopen:focus-visible,
.tc-category input:focus-visible {
  outline: 3px solid #ffbd45;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .tc-banner {
    padding: 20px 15px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .tc-inner h2 {
    font-size: 20px;
  }

  .tc-actions {
    flex-direction: column;
    gap: 10px;
  }

  .tc-actions button {
    width: 100%;
    flex: auto;
  }

  .tc-panel {
    padding: 25px 18px;
  }
}
