/* Carrier Governance Group — Cookie Consent */

#cgg-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(920px, calc(100% - 32px));
  padding: 22px 26px;
  background: #102b46;
  color: #ffffff;
  border: 1px solid #4d708e;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

#cgg-cookie-banner strong {
  display: block;
  font-size: 17px;
  margin-bottom: 7px;
}

#cgg-cookie-banner p {
  margin: 0;
  color: #e2eaf1;
  font-size: 13px;
  line-height: 1.6;
}

#cgg-cookie-banner a {
  color: #a9dafb;
  text-decoration: underline;
}

.cgg-cookie-content {
  flex: 1;
  min-width: 0;
}

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

.cgg-cookie-actions button {
  padding: 11px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

#cgg-cookie-reject {
  background: transparent;
  border: 1px solid #dce7ef;
  color: white;
}

#cgg-cookie-accept {
  background: #69bde9;
  border: 1px solid #69bde9;
  color: #102b46;
}

#cgg-cookie-settings {
  position: fixed;
  bottom: 14px;
  left: 14px;
  z-index: 99998;
  padding: 8px 12px;
  background: #102b46;
  color: white;
  border: 1px solid #7395ae;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}

#cgg-cookie-banner button:focus-visible,
#cgg-cookie-settings:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 650px) {
  #cgg-cookie-banner {
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 18px;
    max-height: 80vh;
    overflow-y: auto;
  }

  .cgg-cookie-actions {
    display: flex;
    width: 100%;
  }

  .cgg-cookie-actions button {
    flex: 1;
  }
}
