.terms-arrow {
  cursor: pointer;
}

.terms-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38, 48, 73, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.terms-modal-overlay[hidden] {
  display: none;
}

.terms-modal {
  background: #ffffff;
  border-radius: 8px;
  width: min(390px, 92vw);
  height: min(600px, 85vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 2px 2px 8px 0px rgba(38, 48, 73, 0.3);
}

.terms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line, #dbdcde);
  flex-shrink: 0;
}

.terms-modal-title {
  font-family: "Inter-Bold", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--main, #263049);
}

.terms-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--main, #263049);
  cursor: pointer;
  padding: 4px 8px;
}

.terms-modal-frame {
  border: none;
  flex: 1;
  width: 100%;
}
