.terms-modal {
  display: flex;
  flex-direction: column;
  max-height: 70vh;
}

.terms-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.terms-tab {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.terms-tab:hover {
  color: var(--text-primary);
}

.terms-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.terms-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-primary);
}

.terms-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 16px 0 8px;
}

.terms-paragraph {
  margin: 0 0 8px;
  text-align: justify;
}

.terms-paragraph-spacer {
  height: 4px;
}

.terms-footer {
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.terms-confirm-btn {
  padding: 10px 48px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.terms-confirm-btn:hover {
  opacity: 0.9;
}
