/* Cookie consent modal for the ATR demo page. */

#atr-cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.atr-cookie-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  padding: 32px 36px;
  font-family: Arial, sans-serif;
  color: #000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.atr-cookie-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.atr-cookie-modal h2 {
  margin: 0 0 16px;
  color: #002855;
  font-size: 26px;
  line-height: 1.25;
}

.atr-cookie-necessary,
.atr-cookie-necessary:hover,
.atr-cookie-necessary:active {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: auto;
  padding: 0;
  color: #00a3e0;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}

.atr-cookie-necessary:hover {
  text-decoration: underline;
}

.atr-cookie-modal p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  color: #000;
  max-width: none;
}

.atr-cookie-modal a {
  color: #00a3e0;
}

.atr-cookie-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.atr-cookie-accept,
.atr-cookie-accept:active {
  background: #002855;
  color: #fff;
  border: none;
  border-radius: 24px;
  box-shadow: none;
  width: auto;
  padding: 12px 32px;
  font-family: inherit;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.atr-cookie-accept:hover {
  background: #003a75;
}

@media (max-width: 640px) {
  .atr-cookie-top {
    flex-direction: column;
    gap: 8px;
  }

  .atr-cookie-necessary {
    white-space: normal;
    text-align: left;
    margin-bottom: 12px;
  }
}
