@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #003399;
  --primary-hover: #002673;
  --primary-light: #e6eefc;
  --secondary-color: #051a3b;
  --accent-color: #d92525;
  --bg-color: #f0f3f8;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #cbd5e1;
  --input-focus: #3b82f6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,51,153,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 24px rgba(5,26,59,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base Styles & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  overscroll-behavior-x: none !important;
  touch-action: pan-y !important; /* 縦スクロール専用に固定（横ブレ完全遮断） */
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  overscroll-behavior-x: none !important;
  touch-action: pan-y !important;
  position: relative;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 20px 12px 60px 12px;
}

/* Astra, etc. Theme Pseudo Element Reset */
ul, li, ol {
  list-style: none;
}
ul::before, li::before, ol::before {
  display: none !important;
  content: "" !important;
}

.container {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  overflow-x: hidden !important;
  touch-action: pan-y !important;
}

/* Header & Banner */
.form-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.form-header::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.brand-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.form-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .form-title {
    font-size: 1.35rem;
  }
  .form-header {
    padding: 24px 16px;
  }
}

.privacy-notice {
  background: rgba(255, 255, 255, 0.12);
  border-left: 3px solid #60a5fa;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  text-align: left;
  line-height: 1.5;
  margin-top: 16px;
  color: #e2e8f0;
}

.header-banner-wrapper {
  margin-top: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.privacy-notice-bottom {
  background: #ffffff;
  border-left: 4px solid var(--primary-color);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Card Section Structure */
.form-card {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  touch-action: pan-y !important;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 28px;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .form-card {
    padding: 20px 14px;
  }
}

.form-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary-color);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Form Item Styling */
.form-group {
  margin-bottom: 28px;
  position: relative;
  transition: all 0.3s ease;
}

.form-group:last-child {
  margin-bottom: 0;
}

.label-wrapper {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.form-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.required-badge {
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}

.optional-badge {
  background-color: #94a3b8;
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}

.field-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.field-note-highlight {
  background-color: #fef2f2;
  border-left: 3px solid #ef4444;
  padding: 8px 12px;
  border-radius: 4px;
  color: #991b1b;
  font-size: 0.83rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Text Inputs, Textarea, Select */
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-main);
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #94a3b8;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.15);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Custom Radio & Checkbox Card Buttons */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.option-grid.single-col {
  grid-template-columns: 1fr;
}

.option-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.option-card:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-indicator {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #94a3b8;
  border-radius: 50%;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.option-card input[type="checkbox"] + .custom-indicator {
  border-radius: 4px;
}

.option-card input[type="radio"]:checked + .custom-indicator {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  box-shadow: inset 0 0 0 3px #ffffff;
}

.option-card input[type="checkbox"]:checked + .custom-indicator {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.option-card input[type="checkbox"]:checked + .custom-indicator::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.option-card input[type="radio"]:checked ~ .option-label,
.option-card input[type="checkbox"]:checked ~ .option-label {
  font-weight: 700;
  color: var(--primary-color);
}

.option-card.is-selected {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
  box-shadow: 0 2px 6px rgba(0, 51, 153, 0.08);
}

.option-label {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.4;
}

/* Conditional Field Slide Animation */
.conditional-field {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
  margin-top: 0;
  margin-bottom: 0;
}

.conditional-field.is-visible {
  max-height: 250px;
  opacity: 1;
  margin-top: 24px;
  margin-bottom: 28px;
}

.conditional-field .form-group {
  margin-bottom: 0;
}

/* Error States */
.has-error .form-input,
.has-error .form-textarea,
.has-error .form-select {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.has-error .option-card {
  border-color: #fca5a5;
}

.error-message {
  color: #dc2626;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Submit Button & Actions */
.form-actions {
  text-align: center;
  margin-top: 36px;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 16px 48px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 51, 153, 0.25);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 280px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 51, 153, 0.35);
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--secondary-color) 100%);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.2);
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Loading Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.submit-btn.is-loading .spinner {
  display: inline-block;
}

/* Success / Status Message Modal/Box */
.status-card {
  display: none;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 28px;
  text-align: center;
}

.status-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px auto;
}

.status-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.status-body {
  font-size: 0.975rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 24px;
}

.status-actions {
  margin-top: 20px;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  background: #f1f5f9;
  color: var(--text-main);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

/* Calendar Component Styles */
.calendar-wrapper {
  margin-top: 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.calendar-header-banner {
  background: #009fe3;
  color: #ffffff;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.03em;
}

.calendar-month-header {
  background: #f8fafc;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  color: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.calendar-table th {
  padding: 8px 2px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  background: #f1f5f9;
  color: #475569;
  border-bottom: 1px solid var(--border-color);
}

.calendar-table th.sun-col { color: #ef4444; }
.calendar-table th.sat-col { color: #2563eb; }
.calendar-table th.holiday-col { color: #94a3b8; }

.calendar-table td {
  padding: 6px 2px;
  text-align: center;
  vertical-align: top;
  border: 1px solid #f1f5f9;
  height: 58px;
  transition: all 0.2s ease;
}

.calendar-table td.empty-cell {
  background: #fafafa;
}

.calendar-table td.is-selectable {
  cursor: pointer;
  background: #ffffff;
}

.calendar-table td.is-selectable:hover {
  background: var(--primary-light);
}

.calendar-table td.is-disabled {
  background: #f8fafc;
  color: #cbd5e1;
  cursor: not-allowed;
}

.calendar-table .date-num {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.calendar-table td.sun-cell .date-num { color: #ef4444; }
.calendar-table td.sat-cell .date-num { color: #2563eb; }

.date-badge {
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  line-height: 1.2;
}

.date-badge.status-ok {
  color: #e11d48;
  border-bottom: 2px solid #e11d48;
  padding: 0 4px;
}

.date-badge.status-holiday {
  color: #64748b;
  font-size: 0.725rem;
}

.date-badge.status-disabled {
  color: #cbd5e1;
  font-size: 0.7rem;
}

/* Selected Date Highlight */
.calendar-table td.is-selected-date {
  background-color: #fff7ed !important;
  box-shadow: inset 0 0 0 2px #f97316;
}

.calendar-table td.is-selected-date .date-badge.status-ok {
  background: #f97316;
  color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  padding: 0;
  border-bottom: none;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 10px;
  background: #fafafa;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.legend-badge {
  font-weight: 700;
  padding: 0 4px;
}

/* Time Selection Section */
.time-selection-wrapper {
  margin-top: 16px;
}

.time-selection-card {
  background: #f0f9ff;
  border: 1.5px solid #0284c7;
  border-radius: var(--radius-md);
  padding: 16px;
}

.selected-date-display {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 12px;
}

.highlight-date {
  color: #d97706;
  font-size: 1.05rem;
  text-decoration: underline;
}

.sub-label {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.time-card {
  background: #ffffff;
}

@media (max-width: 640px) {
  .calendar-table td {
    height: 52px;
    padding: 4px 1px;
  }
  .calendar-table .date-num {
    font-size: 0.825rem;
  }
  .date-badge {
    font-size: 0.7rem;
  }
  .calendar-header-banner {
    font-size: 0.9rem;
    padding: 10px;
  }
  .option-grid.time-option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Confirmation Modal Overlay & Card */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 26, 59, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.is-active .modal-card {
  transform: translateY(0);
}

.modal-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  padding: 20px 24px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.confirm-summary-table {
  width: 100%;
  border-collapse: collapse;
}

.confirm-summary-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.confirm-summary-table th {
  text-align: left;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--secondary-color);
  padding: 12px 10px 12px 0;
  width: 38%;
  vertical-align: top;
  line-height: 1.4;
}

.confirm-summary-table td {
  font-size: 0.925rem;
  color: var(--text-main);
  padding: 12px 0 12px 10px;
  vertical-align: top;
  line-height: 1.4;
  word-break: break-word;
}

.modal-footer {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.btn-modal-back {
  background: #e2e8f0;
  color: var(--text-main);
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-modal-back:hover {
  background: #cbd5e1;
}

.btn-modal-submit {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.2);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-modal-submit:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--secondary-color) 100%);
  transform: translateY(-1px);
}

.btn-modal-submit.is-loading .spinner {
  display: inline-block;
}

@media (max-width: 640px) {
  .modal-card {
    max-height: 90vh;
  }
  .confirm-summary-table th {
    width: 42%;
    font-size: 0.825rem;
  }
  .confirm-summary-table td {
    font-size: 0.875rem;
  }
  .modal-footer {
    flex-direction: column-reverse;
  }
  .btn-modal-back, .btn-modal-submit {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* --- 開催期間・注意書きスタイル --- */
.event-period-text {
  color: #000000 !important;
  font-weight: 700;
  font-size: 0.95rem;
}

.event-note-text {
  color: #003399;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 4px;
  display: inline-block;
}

/* --- 第一希望〜第三希望 アコーディオンカレンダーUI --- */
.priority-date-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.priority-block {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.priority-block-optional {
  border-color: #bae6fd;
}

.priority-header {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navy-header {
  background-color: #051a3b;
  color: #ffffff;
}

.priority-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.navy-badge {
  background-color: #ef4444;
  color: #ffffff;
}

/* 水色のアコーディオン帯ボタン */
.accordion-toggle-btn {
  width: 100%;
  padding: 14px 18px;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.cyan-banner {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.cyan-banner:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

.lightblue-banner {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}

.lightblue-banner:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.accordion-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.accordion-toggle-btn.is-open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 16px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.accordion-content.is-open {
  display: block;
}

.priority-actions {
  margin-top: 12px;
  text-align: right;
}

.btn-clear-choice {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-clear-choice:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fca5a5;
}

/* Privacy Notice & Policy Link */
.privacy-notice-bottom {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin-top: 24px;
  padding: 12px 16px;
  background-color: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.privacy-policy-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
  word-break: break-all;
}

.privacy-policy-link:hover {
  color: var(--primary-hover);
  text-decoration: none;
}


