/* Cookie consent + policy pages */

.gc-cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 999999;
  max-width: 1180px;
  margin: 0 auto;
  background: #006097;
  color: #fff;
  padding: 28px 32px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  display: none;
}

.gc-cookie-banner.is-visible,
.gc-cookie-modal.is-visible {
  display: block;
}

.gc-cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.gc-cookie-banner__text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.gc-cookie-banner__text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.6;
}

.gc-cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
}

.gc-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.gc-cookie-btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  min-width: 150px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: 0.25s ease;
}

.gc-cookie-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.gc-cookie-btn--accept {
  background: #f55c19;
  border-color: #f55c19;
}

.gc-cookie-btn--accept:hover {
  background: #dc5014;
  border-color: #dc5014;
}

.gc-cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(18, 28, 39, 0.55);
}

.gc-cookie-modal__box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  padding: 34px 32px;
}

.gc-cookie-modal__box h4 {
  color: #006097;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 10px;
}

.gc-cookie-modal__box p {
  color: #4e595d;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.gc-cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #eee;
}

.gc-cookie-option h5 {
  margin: 0 0 6px;
  color: #223035;
  font-size: 16px;
  font-weight: 600;
}

.gc-cookie-option p {
  margin: 0;
  font-size: 13px;
}

.gc-switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.gc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.gc-switch span {
  position: absolute;
  inset: 0;
  background: #cfd6d8;
  border-radius: 26px;
  cursor: pointer;
}

.gc-switch span:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s ease;
}

.gc-switch input:checked + span {
  background: #006097;
}

.gc-switch input:checked + span:before {
  transform: translateX(20px);
}

.gc-switch input:disabled + span {
  background: #8aa8b8;
  cursor: not-allowed;
}

.gc-cookie-reopen {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  width: 48px;
  height: 48px;
  border: 0;
  background: #006097;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 96, 151, 0.35);
  display: none;
}

.gc-cookie-reopen.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.policy-content h3 {
  color: #006097;
  font-size: 26px;
  font-weight: 600;
  margin: 36px 0 14px;
}

.policy-content h3:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: #4e595d;
  font-size: 16px;
  line-height: 1.8;
}

.policy-content ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

.policy-content li {
  margin-bottom: 8px;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
}

.policy-table th,
.policy-table td {
  border: 1px solid #e4eaec;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.5;
}

.policy-table th {
  width: 38%;
  background: #f2f8f9;
  color: #006097;
  font-weight: 600;
}

.policy-updated {
  margin-top: 28px;
  font-weight: 600;
  color: #223035;
}

@media (max-width: 991px) {
  .gc-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 22px 18px;
  }

  .gc-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .gc-cookie-btn {
    width: 100%;
  }
}
