/**
 * 東京港夜景観賞クルーズ - 応募フォーム用スタイル
 * Tailwind CSS 組み込み & モダンフォームコンポーネント
 */

/* ==========================================================================
   CSS Reset & Base (Tailwind Preflight Compatible)
   ========================================================================== */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e2e8f0;
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: "Noto Sans JP", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  line-height: inherit;
  font-family: "Noto Sans JP", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: 700;
}

ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, select {
  text-transform: none;
}

button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

img, svg {
  display: block;
  vertical-align: middle;
}

svg {
  flex-shrink: 0;
}

svg:not([class*="w-"]) {
  width: 1.25rem;
  height: 1.25rem;
}

/* ==========================================================================
   Tailwind Utilities
   ========================================================================== */

/* Layout & Sizing */
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.\!w-full { width: 100% !important; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.\!w-20 { width: 5rem !important; }
.\!w-24 { width: 6rem !important; }
.\!w-48 { width: 12rem !important; }
.h-1 { height: 0.25rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-full { height: 100%; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xs { max-width: 20rem; }
.\!max-w-none { max-width: none !important; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; }
.divide-slate-100 > :not([hidden]) ~ :not([hidden]) { border-color: #f1f5f9; }
.divide-slate-200 > :not([hidden]) ~ :not([hidden]) { border-color: #e2e8f0; }
.divide-slate-300 > :not([hidden]) ~ :not([hidden]) { border-color: #cbd5e1; }
.gap-8 { gap: 2rem; }

/* Grid columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-4 { padding-left: 1rem; }
.pr-4 { padding-right: 1rem; }
.\!pt-0 { padding-top: 0px !important; }
.\!bg-sky-500 { background-color: #0ea5e9 !important; }

/* Gradients */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops, #0ea5e9, #0284c7, #0369a1));
}
.from-sky-500 {
  --tw-gradient-from: #0ea5e9;
  --tw-gradient-stops: var(--tw-gradient-from), #0284c7, var(--tw-gradient-to, #0369a1);
}
.via-sky-600 {
  --tw-gradient-stops: var(--tw-gradient-from, #0ea5e9), #0284c7, var(--tw-gradient-to, #0369a1);
}
.to-sky-700 {
  --tw-gradient-to: #0369a1;
}

.underline-offset-2 { text-underline-offset: 2px; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-2 { margin-left: 0.5rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
.tracking-wide { letter-spacing: 0.025em; }

/* Colors */
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-sky-600 { color: #0284c7; }
.text-sky-700 { color: #0369a1; }
.text-sky-800 { color: #075985; }
.text-sky-900 { color: #0c4a6e; }
.text-rose-600 { color: #e11d48; }
.text-rose-700 { color: #be123c; }
.text-amber-700 { color: #b45309; }
.text-amber-800 { color: #92400e; }
.text-amber-900 { color: #78350f; }
.text-emerald-600 { color: #059669; }
.text-emerald-700 { color: #047857; }
.text-white { color: #ffffff; }

.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-700 { background-color: #334155; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.bg-sky-50 { background-color: #f0f9ff; }
.bg-sky-100 { background-color: #e0f2fe; }
.bg-sky-500 { background-color: #0ea5e9; }
.bg-sky-600 { background-color: #0284c7; }
.bg-sky-700 { background-color: #0369a1; }
.bg-rose-50 { background-color: #fff1f2; }
.bg-rose-100 { background-color: #ffe4e6; }
.bg-rose-600 { background-color: #e11d48; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-600 { background-color: #059669; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l-4 { border-left-width: 4px; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-400 { border-color: #94a3b8; }
.border-sky-200 { border-color: #bae6fd; }
.border-sky-500 { border-color: #0ea5e9; }
.border-sky-600 { border-color: #0284c7; }
.border-rose-200 { border-color: #fecdd3; }
.border-rose-300 { border-color: #fda4af; }
.border-amber-200 { border-color: #fde68a; }
.border-emerald-200 { border-color: #a7f3d0; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-none { box-shadow: none; }

/* Transitions */
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Hover & Focus */
.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.hover\:bg-slate-200:hover { background-color: #e2e8f0; }
.hover\:bg-slate-700:hover { background-color: #334155; }
.hover\:bg-sky-700:hover { background-color: #0369a1; }
.hover\:text-sky-600:hover { color: #0284c7; }
.hover\:text-sky-700:hover { color: #0369a1; }
.hover\:text-slate-900:hover { color: #0f172a; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }

.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.select-none { user-select: none; }
.shrink-0 { flex-shrink: 0; }
.overflow-hidden { overflow: hidden; }

/* Responsive (sm: 640px) */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row !important; }
  .sm\:items-center { align-items: center; }
  .sm\:items-start { align-items: flex-start; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:w-48 { width: 12rem; }
  .sm\:w-64 { width: 16rem; }
  .sm\:w-72 { width: 18rem; }
  .sm\:w-auto { width: auto; }
  .sm\:block { display: block; }
  .sm\:inline { display: inline; }
  .sm\:hidden { display: none; }
}

/* ==========================================================================
   Modern Form Component Styles
   ========================================================================== */

/* Main content wrapper */
#contents {
  flex-grow: 1;
  padding: 1.5rem 1rem 3rem;
}

@media (min-width: 640px) {
  #contents {
    padding: 2.5rem 1.5rem 4rem;
  }
}

.common_inner {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

/* Form Card Container */
.form-card {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .form-card {
    padding: 2.5rem 2.5rem;
  }
}

/* Modern Step Bar */
.step-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  padding: 0;
  list-style: none;
}

.step-item {
  display: flex;
  align-items: center;
  position: relative;
  flex: 1;
}

.step-item:last-child {
  flex: 0 0 auto;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  position: relative;
}

.step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  background-color: #e2e8f0;
  color: #64748b;
  transition: all 0.2s ease;
}

.step-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.step-item.current .step-badge {
  background-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 0 0 4px #e0f2fe;
}

.step-item.current .step-name {
  color: #0284c7;
  font-weight: 700;
}

.step-item.completed .step-badge {
  background-color: #e0f2fe;
  color: #0369a1;
}

.step-item.completed .step-name {
  color: #0369a1;
}

.step-connector {
  flex: 1;
  height: 2px;
  background-color: #e2e8f0;
  margin: 0 0.75rem;
}

@media (max-width: 639px) {
  .step-bar {
    margin-bottom: 1.75rem;
  }
  .step-badge {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
  }
  .step-name {
    font-size: 0.75rem;
  }
  .step-connector {
    margin: 0 0.35rem;
  }
}

/* Form Item Rows */
.form-row {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
  border-bottom: 1px solid #94a3b8;
}

@media (min-width: 640px) {
  .form-row {
    flex-direction: row;
    align-items: flex-start;
    padding: 1.5rem 0;
  }
}

.form-label-col {
  width: 100%;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .form-label-col {
    width: 280px;
    margin-bottom: 0;
    padding-right: 1.5rem;
    flex-shrink: 0;
  }
}

.form-input-col {
  flex: 1;
  width: 100%;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
}

/* Badge Tags (必須 / 任意) */
.badge-required {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 0.375rem;
  line-height: 1.2;
}

.badge-optional {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  line-height: 1.2;
}

/* Input Fields */
.input-text {
  width: 100%;
  padding: 0.65rem 0.875rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #1e293b;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease-in-out;
}

.input-text:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.input-text:disabled {
  background-color: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

.input-text::placeholder {
  color: #94a3b8;
}

.\!text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.placeholder\:text-xs::placeholder { font-size: 0.75rem; }

/* Select wrapper */
.select-styled {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 0.875rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #1e293b;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  appearance: none;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.select-styled:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Radio Cards / Custom Radio */
.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.95rem;
  color: #334155;
}

.radio-label:hover {
  background-color: #f0f9ff;
  border-color: #bae6fd;
}

.radio-label input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #0284c7;
  cursor: pointer;
}

.radio-label:has(input[type="radio"]:checked) {
  background-color: #f0f9ff;
  border-color: #0284c7;
  color: #0369a1;
  font-weight: 600;
}

/* Companion Sub-Header */
.companion-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0 1rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(90deg, #f0f9ff 0%, #ffffff 100%);
  border-left: 4px solid #0284c7;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #0369a1;
  font-weight: 700;
  font-size: 1.125rem;
}

/* Validation Error Box */
.error {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.65rem;
  background-color: #fef2f2;
  border-left: 3px solid #ef4444;
  border-radius: 0.25rem;
}

.error .fa-exclamation-triangle,
.error .fas {
  color: #f59e0b;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  padding: 1.125rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-radius: 9999px;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(2, 132, 199, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.125rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #475569;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

/* Legacy Class Support (to ensure compatibility with existing classes) */
.size_xs { max-width: 5rem; }
.size_s { max-width: 10rem; }
.size_m { max-width: 16rem; }
.size_l { max-width: 24rem; }
.size_xl { width: 100%; }
.size_name { max-width: 12rem; }
.size_4em { width: 5.5rem; text-align: center; }
.size_2em { width: 3.5rem; text-align: center; }

.sp_hide { display: inline; }
.sp_show { display: none; }
@media (max-width: 639px) {
  .sp_hide { display: none !important; }
  .sp_show { display: inline !important; }
}

.bold { font-weight: 700; }
.small { font-size: 0.85em; }
.supplement { font-size: 0.825rem; color: #64748b; }

/* ==========================================================================
   Footer Support Classes
   ========================================================================== */
.mt-auto { margin-top: auto; }
.text-slate-100 { color: #f1f5f9; }
.text-sky-400 { color: #38bdf8; }
.border-t-4 { border-top-width: 4px; }
.border-sky-600 { border-color: #0284c7; }
.border-sky-500 { border-color: #0ea5e9; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.leading-relaxed { line-height: 1.625; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.border-b { border-bottom-width: 1px; }

/* border-white/20 - semi-transparent white border */
footer .border-b { border-bottom-color: rgba(255, 255, 255, 0.2); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
