* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f7f8;
  color: #3a4a6b;
}

.screen {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 24px 16px;
}

.form-card {
  width: 100%;
  max-width: 510px;
  background: #f7f7f8;
}

.field-block {
  margin-bottom: 22px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  color: #666666;
}

.select-wrap,
.date-wrap {
  position: relative;
}

.input-select,
.input-date,
.input-text {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 11px;
  background: #efeff1;
  color: #3a4a6b;
  font-size: 18px;
  padding: 0 14px;
  outline: none;
}

.input-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px;
  cursor: pointer;
}

.chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-52%);
  color: #777777;
  pointer-events: none;
  font-size: 18px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #efeff1;
  border-radius: 12px;
  overflow: hidden;
}

.segment-btn {
  height: 42px;
  border: none;
  background: transparent;
  color: #777777;
  font-size: 16px;
  cursor: pointer;
}

.segment-btn.active {
  background: #1f57d6;
  color: #ffffff;
  font-weight: 700;
}

.field-row-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.warning-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f4c500;
  color: #5c4700;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.warning-icon {
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.warning-text {
  font-size: 14px;
  line-height: 1.4;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #666666;
  margin-bottom: 28px;
}

.checkbox-row input {
  margin-top: 2px;
}

.submit-btn {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 22px;
  background: #1f57d6;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.submit-btn:hover {
  filter: brightness(0.98);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  border-radius: 12px;
  padding: 32px 24px;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: modalEnter 0.3s ease-out;
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.close-icon-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999999;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.success-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.success-circle {
  width: 56px;
  height: 56px;
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
}

.modal-description {
  font-size: 16px;
  line-height: 1.5;
  color: #6b7280;
  margin-bottom: 24px;
}

.bot-card {
  background: #f0f7ff;
  border: 1px solid #d1e8ff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  margin-bottom: 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.bot-card:hover {
  background: #e6f0ff;
}

.bot-card-title {
  color: #1f57d6;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.bot-card-subtitle {
  color: #1f57d6;
  font-size: 13px;
  opacity: 0.9;
}

.modal-got-it-btn {
  width: 100%;
  max-width: 160px;
  height: 48px;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 20px;
}

.modal-got-it-btn:hover {
  background: #1a1a1a;
}

.auto-booking-link {
  display: block;
  font-size: 14px;
  color: #6b7280;
  text-decoration: underline;
  cursor: pointer;
}

.auto-booking-link:hover {
  color: #111827;
}

/* Auth Modal Specifics */
.auth-bell-circle {
  width: 64px;
  height: 64px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
}

.auth-bell-icon {
  color: #1f57d6;
}

.auth-google-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  min-height: 44px; /* Space for the button to load */
}

.auth-footer-text {
  font-size: 13px;
  color: #6b7280;
  margin-top: 16px;
}
