/**
 * FormBook Pro - Public Styles
 * Monochrome design system
 *
 * @package FormBook_Pro
 * @version 2.0.0
 *
 * Color palette:
 * --fb-black:    #111    (primary actions, selected states)
 * --fb-dark:     #333    (hover states)
 * --fb-mid:      #666    (secondary text, labels)
 * --fb-muted:    #999    (placeholders, disabled)
 * --fb-border:   #e5e7eb (borders)
 * --fb-bg:       #f5f5f5 (input backgrounds, cards)
 * --fb-white:    #fff    (base background)
 * --fb-error:    #dc2626 (error only)
 * --fb-success:  #16a34a (success only)
 */

/* ============================================
   Base - Form Wrapper
   ============================================ */
.geo-pro-contact-form-wrapper,
.geo-pro-reservation-form-wrapper {
	max-width: 800px;
	margin: 40px auto;
	padding: 40px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
}

/* Form Title */
.geo-contact-form-title,
.geo-reservation-form-title {
	margin: 0 0 30px 0;
	font-size: 24px;
	font-weight: 700;
	color: #111;
	text-align: center;
	padding-bottom: 20px;
	border-bottom: 2px solid #111;
}

/* ============================================
   Messages
   ============================================ */
.geo-form-messages {
	margin-bottom: 25px;
	padding: 15px 20px;
	border-radius: 6px;
	display: none;
	font-size: 14px;
	line-height: 1.6;
}

.geo-form-messages.success {
	display: block;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
	animation: geo-success-fade-in 0.4s ease;
}

.geo-form-messages.error {
	display: block;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.geo-form-messages.info {
	display: block;
	background: #f5f5f5;
	border: 1px solid #e5e7eb;
	color: #333;
}

.step-message {
	margin-bottom: 20px;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	display: none;
}

.step-message.error {
	display: block;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.step-message.success {
	display: block;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.step-message.info {
	display: block;
	background: #f5f5f5;
	border: 1px solid #e5e7eb;
	color: #333;
}

/* ============================================
   Form Layout
   ============================================ */
.geo-pro-contact-form,
.geo-pro-reservation-form {
	position: relative;
}

.geo-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.geo-form-row-half {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 768px) {
	.geo-form-row,
	.geo-form-row-half {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   Form Fields
   ============================================ */
.geo-form-field {
	display: flex;
	flex-direction: column;
}

.geo-form-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
	color: #111;
}

.geo-form-field label .required {
	color: #dc2626;
	margin-left: 3px;
}

.geo-form-field input[type="text"],
.geo-form-field input[type="email"],
.geo-form-field input[type="tel"],
.geo-form-field input[type="date"],
.geo-form-field select,
.geo-form-field textarea {
	width: 100%;
	padding: 10px 14px;
	font-size: 15px;
	line-height: 1.5;
	color: #111;
	background-color: #f5f5f5;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	transition: border-color 0.2s ease;
	font-family: inherit;
}

.geo-form-field input[type="text"]:focus,
.geo-form-field input[type="email"]:focus,
.geo-form-field input[type="tel"]:focus,
.geo-form-field input[type="date"]:focus,
.geo-form-field select:focus,
.geo-form-field textarea:focus {
	outline: none;
	background-color: #fff;
	border-color: #111;
}

.geo-form-field input[type="text"].error,
.geo-form-field input[type="email"].error,
.geo-form-field input[type="tel"].error,
.geo-form-field input[type="date"].error,
.geo-form-field select.error,
.geo-form-field textarea.error {
	border-color: #dc2626;
	background-color: #fef2f2;
}

.geo-form-field textarea {
	resize: vertical;
	min-height: 120px;
}

.geo-form-field select {
	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='%23666' 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 12px center;
	background-size: 18px;
	padding-right: 40px;
}

/* Field Error Messages */
.geo-field-error {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: #dc2626;
	font-weight: 500;
}

/* ============================================
   Submit Button (Contact Form)
   ============================================ */
.geo-submit-button {
	width: 100%;
	padding: 14px 32px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #111;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	position: relative;
	overflow: hidden;
}

.geo-submit-button:hover {
	background: #333;
}

.geo-submit-button:active {
	background: #000;
}

.geo-submit-button:disabled {
	background: #999;
	cursor: not-allowed;
}

.geo-submit-button .button-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.geo-submit-button .spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: geo-spin 0.6s linear infinite;
}

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

/* Privacy Notice */
.geo-privacy-notice {
	margin-top: 20px;
	padding: 15px;
	background: #f5f5f5;
	border-left: 3px solid #111;
	border-radius: 4px;
	font-size: 13px;
	color: #666;
	line-height: 1.6;
}

/* Accessibility */
.geo-form-field input:focus-visible,
.geo-form-field select:focus-visible,
.geo-form-field textarea:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

/* ============================================
   Reservation Form - Progress Indicator
   ============================================ */
.geo-reservation-progress {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
	padding: 24px 20px;
	position: relative;
}

/* Track line (background) */
.geo-reservation-progress::before {
	content: '';
	position: absolute;
	top: 44px;
	left: 12%;
	right: 12%;
	height: 2px;
	background: #e5e7eb;
	z-index: 0;
}

/* Track line (progress) */
.geo-reservation-progress::after {
	content: '';
	position: absolute;
	top: 44px;
	left: 12%;
	height: 2px;
	background: #111;
	z-index: 0;
	width: 0%;
	transition: width 0.4s ease;
}

.geo-reservation-progress[data-progress="1"]::after { width: 0%; }
.geo-reservation-progress[data-progress="2"]::after { width: 20%; }
.geo-reservation-progress[data-progress="3"]::after { width: 40%; }
.geo-reservation-progress[data-progress="4"]::after { width: 60%; }
.geo-reservation-progress[data-progress="5"]::after { width: 80%; }

.progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 1;
	flex: 1;
	max-width: 120px;
}

.step-number {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 8px;
	transition: all 0.3s ease;
	border: 2px solid #e5e7eb;
}

.step-label {
	font-size: 12px;
	color: #999;
	text-align: center;
	font-weight: 500;
	transition: color 0.3s ease;
}

.progress-step.active .step-number {
	background: #111;
	color: #fff;
	border-color: #111;
}

.progress-step.active .step-label {
	color: #111;
	font-weight: 600;
}

.progress-step.completed .step-number {
	background: #111;
	color: #fff;
	border-color: #111;
}

.progress-step.completed .step-label {
	color: #666;
}

/* ============================================
   Step Container
   ============================================ */
.reservation-step {
	display: none;
	animation: geo-step-fade-in 0.3s ease;
}

.reservation-step.active {
	display: block;
}

@keyframes geo-step-fade-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.step-title {
	font-size: 18px;
	font-weight: 600;
	color: #111;
	margin-bottom: 24px;
	text-align: center;
}

/* ============================================
   Step 1 - Party Size Selector
   ============================================ */
.party-size-selector {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
	gap: 10px;
	max-width: 700px;
	margin: 0 auto;
	padding: 10px;
}

.party-size-btn {
	padding: 16px 12px;
	font-size: 18px;
	font-weight: 700;
	color: #111;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
}

.party-size-btn:hover {
	border-color: #111;
	background: #f5f5f5;
}

.party-size-btn.selected {
	background: #111;
	color: #fff;
	border-color: #111;
}

.party-size-btn.selected:hover {
	background: #333;
}

.party-size-btn.party-size-private {
	grid-column: span 2;
	background: #f5f5f5;
	color: #111;
	border-color: #e5e7eb;
	font-size: 16px;
	padding: 18px 12px;
}

.party-size-btn.party-size-private:hover {
	border-color: #111;
	background: #e5e7eb;
}

.party-size-btn.party-size-private.selected {
	background: #111;
	color: #fff;
	border-color: #111;
}

.party-size-btn.party-size-private small {
	font-size: 12px;
	opacity: 0.7;
	font-weight: 500;
}

@media (max-width: 768px) {
	.party-size-selector {
		grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
		gap: 8px;
	}
}

@media (max-width: 480px) {
	.party-size-selector {
		grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
		gap: 8px;
	}

	.party-size-btn {
		padding: 14px 8px;
		font-size: 16px;
	}
}

/* ============================================
   Loading Spinner
   ============================================ */
.time-slots-loading,
.seat-options-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
}

.time-slots-loading .spinner,
.seat-options-loading .spinner {
	width: 40px;
	height: 40px;
	border: 3px solid #e5e7eb;
	border-top-color: #111;
	border-radius: 50%;
	animation: geo-spin 0.8s linear infinite;
	margin-bottom: 16px;
}

.time-slots-loading p,
.seat-options-loading p {
	color: #999;
	font-size: 14px;
	margin: 0;
}

/* ============================================
   Step 2 - Time Slots Grid
   ============================================ */
.time-slots-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	max-width: 700px;
	margin: 0 auto;
}

.time-slot-btn {
	padding: 12px 14px;
	font-size: 15px;
	font-weight: 600;
	color: #111;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
}

.time-slot-btn:hover {
	border-color: #111;
	background: #f5f5f5;
}

.time-slot-btn.selected {
	background: #111;
	color: #fff;
	border-color: #111;
}

@media (max-width: 768px) {
	.time-slots-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 480px) {
	.time-slots-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.time-slot-btn {
		padding: 10px 8px;
		font-size: 14px;
	}
}

/* ============================================
   Step 3 - Seat Options
   ============================================ */
.seat-options-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin: 0 auto;
}

.seat-option-card {
	position: relative;
	padding: 20px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.seat-option-card:hover:not(.unavailable) {
	border-color: #111;
}

.seat-option-card.selected {
	border-color: #111;
	border-width: 2px;
	padding: 19px;
}

.seat-option-card.recommended {
	border-color: #111;
}

.seat-option-card.unavailable {
	opacity: 0.4;
	cursor: not-allowed;
}

.recommended-badge {
	position: absolute;
	top: -10px;
	right: 20px;
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 10px;
}

.seat-name {
	font-size: 16px;
	font-weight: 700;
	color: #111;
	margin-bottom: 10px;
}

.seat-info {
	font-size: 14px;
	color: #666;
	margin-bottom: 6px;
}

.seat-availability {
	font-size: 14px;
	font-weight: 600;
	color: #16a34a;
	margin-bottom: 6px;
}

.seat-warning {
	font-size: 13px;
	color: #666;
	background: #f5f5f5;
	padding: 8px 12px;
	border-radius: 4px;
	margin-top: 10px;
	border-left: 3px solid #999;
}

.unavailable-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 4px;
	font-size: 14px;
}

@media (max-width: 768px) {
	.seat-options-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   Step 4 - Cancellation Policy
   ============================================ */
.cancellation-policy-box {
	margin-top: 24px;
	padding: 16px;
	background: #f5f5f5;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
}

.cancellation-policy-box h5 {
	margin: 0 0 10px 0;
	font-size: 15px;
	font-weight: 700;
	color: #111;
}

.policy-text {
	font-size: 14px;
	color: #666;
	line-height: 1.7;
	margin-bottom: 14px;
	white-space: pre-wrap;
}

.policy-agreement {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #111;
	cursor: pointer;
}

.policy-agreement input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

/* Account Creation Box */
.account-creation-box {
	margin: 20px 0;
	padding: 15px;
	background: #f5f5f5;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
}

.create-account-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	color: #111;
	cursor: pointer;
	margin: 0;
}

.create-account-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.account-creation-box .description {
	margin: 8px 0 0 28px;
	font-size: 13px;
	color: #666;
	line-height: 1.5;
}

/* ============================================
   Step 5 - Reservation Summary
   ============================================ */
.reservation-summary-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	overflow: hidden;
}

.reservation-summary-table tr {
	border-bottom: 1px solid #e5e7eb;
}

.reservation-summary-table tr:last-child {
	border-bottom: none;
}

.reservation-summary-table th {
	text-align: left;
	padding: 14px 16px;
	background: #f5f5f5;
	font-weight: 600;
	color: #111;
	width: 35%;
	font-size: 14px;
}

.reservation-summary-table td {
	padding: 14px 16px;
	color: #333;
	font-weight: 500;
	font-size: 14px;
}

@media (max-width: 480px) {
	.reservation-summary-table th,
	.reservation-summary-table td {
		padding: 10px 12px;
		font-size: 13px;
	}
}

/* ============================================
   Form Navigation
   ============================================ */
.form-navigation {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #e5e7eb;
}

.btn-prev,
.btn-next,
.btn-submit {
	min-width: 140px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.btn-prev {
	background: #fff;
	color: #111;
	border: 1px solid #e5e7eb;
}

.btn-prev:hover {
	background: #f5f5f5;
	border-color: #111;
}

.btn-next,
.btn-submit {
	background: #111;
	color: #fff;
}

.btn-next:hover,
.btn-submit:hover {
	background: #333;
}

.btn-next:disabled,
.btn-submit:disabled {
	background: #999;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.form-navigation {
		flex-direction: column;
	}

	.btn-prev,
	.btn-next,
	.btn-submit {
		width: 100%;
	}
}

/* ============================================
   HotPepper Style Calendar
   ============================================ */
.reservation-calendar-grid.hotpepper-style {
	display: block;
	margin: 20px 0;
	overflow-x: auto;
	background: #fff;
	border: none;
	border-radius: 6px;
}

.calendar-header-row,
.calendar-time-row {
	display: grid;
	grid-template-columns: 80px repeat(auto-fit, minmax(80px, 1fr));
	gap: 0;
}

.calendar-header-row {
	position: sticky;
	top: 0;
	background: #f5f5f5;
	color: #111;
	font-weight: 600;
	z-index: 10;
}

.time-label-header,
.date-header-cell {
	padding: 10px 8px;
	text-align: center;
	font-size: 13px;
}

.time-label-header {
	background: #f5f5f5;
	color: #666;
}

.date-header-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
}

.date-header-cell.sunday {
	color: #dc2626;
}

.date-header-cell.saturday {
	color: #111;
}

.date-header-cell.closed-day {
	background: #f5f5f5;
	color: #999;
}

.date-number {
	font-size: 16px;
	font-weight: 600;
}

.date-weekday {
	font-size: 11px;
	font-weight: 500;
}

.time-label {
	padding: 10px 8px;
	text-align: center;
	font-weight: 500;
	font-size: 13px;
	color: #666;
	background: #f5f5f5;
}

.time-slot-cell {
	padding: 14px 8px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	transition: background-color 0.15s ease;
	cursor: pointer;
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.time-slot-cell.available {
	background: #fff;
	color: #111;
}

.time-slot-cell.available:hover {
	background: #f5f5f5;
}

.time-slot-cell.available.selected {
	background: #111;
	color: #fff;
}

.time-slot-cell.unavailable {
	background: #f5f5f5;
	color: #ccc;
	cursor: not-allowed;
}

@media (max-width: 768px) {
	.calendar-header-row,
	.calendar-time-row {
		grid-template-columns: 60px repeat(auto-fit, minmax(60px, 1fr));
	}

	.time-label-header,
	.date-header-cell,
	.time-label,
	.time-slot-cell {
		padding: 8px 4px;
		font-size: 12px;
	}

	.date-number {
		font-size: 14px;
	}

	.time-slot-cell {
		font-size: 14px;
	}
}

/* Card-style Calendar */
.reservation-calendar-grid:not(.hotpepper-style) {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
	margin: 20px 0;
}

@media (max-width: 768px) {
	.reservation-calendar-grid:not(.hotpepper-style) {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

.calendar-date-card {
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 16px;
	background: #fff;
	transition: border-color 0.2s ease;
	cursor: pointer;
}

.calendar-date-card:hover {
	border-color: #111;
}

.calendar-date-card.selected {
	border-color: #111;
	border-width: 2px;
	padding: 15px;
}

.date-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e7eb;
}

.date-day {
	font-size: 20px;
	font-weight: 700;
	color: #111;
}

.calendar-date-card .date-weekday {
	font-size: 12px;
	font-weight: 600;
	color: #666;
	padding: 2px 10px;
	background: #f5f5f5;
	border-radius: 12px;
}

.calendar-date-card:hover .date-weekday,
.calendar-date-card.selected .date-weekday {
	background: #e5e7eb;
	color: #111;
}

.date-loading {
	text-align: center;
	padding: 24px;
	color: #999;
	font-size: 14px;
	font-weight: 500;
}

.date-loading::after {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 8px;
	border: 2px solid #e5e7eb;
	border-top-color: #111;
	border-radius: 50%;
	animation: geo-spin 0.8s linear infinite;
}

.time-slots-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
	gap: 6px;
	max-height: 200px;
	overflow-y: auto;
	padding-right: 4px;
}

.time-slots-wrapper::-webkit-scrollbar {
	width: 4px;
}

.time-slots-wrapper::-webkit-scrollbar-track {
	background: #f5f5f5;
	border-radius: 2px;
}

.time-slots-wrapper::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 2px;
}

.time-slots-wrapper::-webkit-scrollbar-thumb:hover {
	background: #999;
}

.time-slot-btn-small {
	padding: 8px 6px;
	font-size: 13px;
	font-weight: 600;
	border: 1px solid #e5e7eb;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.15s ease;
	color: #111;
	text-align: center;
}

.time-slot-btn-small:hover {
	border-color: #111;
	background: #f5f5f5;
}

.time-slot-btn-small.selected {
	background: #111;
	color: #fff;
	border-color: #111;
}

.time-slot-btn-small.selected:hover {
	background: #333;
}

.no-slots {
	text-align: center;
	padding: 24px 16px;
	color: #999;
	font-size: 14px;
	font-weight: 500;
	background: #f5f5f5;
	border-radius: 6px;
	border: 1px dashed #e5e7eb;
}

/* ============================================
   Success Screen
   ============================================ */
.reservation-success-screen {
	text-align: center;
	padding: 60px 20px;
	background: #fff;
	border-radius: 8px;
	margin: 20px 0;
}

.success-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	background: #111;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: bold;
}

.success-title {
	font-size: 24px;
	font-weight: 600;
	color: #111;
	margin: 0 0 12px 0;
}

.success-message {
	font-size: 15px;
	color: #666;
	margin: 0 0 30px 0;
	line-height: 1.6;
}

.account-created-info {
	background: #f5f5f5;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 16px;
	margin: 24px auto;
	max-width: 500px;
}

.account-created-info p {
	margin: 8px 0;
	color: #333;
	line-height: 1.6;
}

.account-created-info p:first-child {
	margin-top: 0;
}

.account-created-info p:last-child {
	margin-bottom: 0;
}

.btn-new-reservation,
.btn-my-page {
	display: inline-block;
	padding: 12px 28px;
	margin: 8px;
	font-size: 15px;
	font-weight: 500;
	border-radius: 6px;
	text-decoration: none;
	transition: background-color 0.2s ease;
	cursor: pointer;
	border: none;
}

.btn-new-reservation {
	background: #111;
	color: #fff;
}

.btn-new-reservation:hover {
	background: #333;
}

.btn-my-page {
	background: #fff;
	color: #111;
	border: 1px solid #e5e7eb;
}

.btn-my-page:hover {
	background: #f5f5f5;
	border-color: #111;
	color: #111;
}

@media (max-width: 768px) {
	.reservation-success-screen {
		padding: 40px 15px;
	}

	.success-icon {
		width: 52px;
		height: 52px;
		font-size: 28px;
	}

	.success-title {
		font-size: 20px;
	}

	.btn-new-reservation,
	.btn-my-page {
		display: block;
		width: 100%;
		margin: 8px 0;
	}
}

/* ============================================
   Responsive - Form Wrapper
   ============================================ */
@media (max-width: 768px) {
	.geo-pro-contact-form-wrapper,
	.geo-pro-reservation-form-wrapper {
		padding: 24px 16px;
		margin: 20px auto;
	}

	.geo-contact-form-title,
	.geo-reservation-form-title {
		font-size: 20px;
	}

	.geo-form-field input[type="text"],
	.geo-form-field input[type="email"],
	.geo-form-field input[type="tel"],
	.geo-form-field input[type="date"],
	.geo-form-field select,
	.geo-form-field textarea {
		font-size: 16px; /* Prevents iOS zoom */
	}

	.geo-submit-button {
		padding: 12px 24px;
		font-size: 15px;
	}

	.geo-reservation-progress {
		padding: 16px 8px;
	}

	.step-number {
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	.step-label {
		font-size: 10px;
	}
}

@media (max-width: 480px) {
	.geo-pro-contact-form-wrapper,
	.geo-pro-reservation-form-wrapper {
		padding: 16px 12px;
	}

	.geo-contact-form-title,
	.geo-reservation-form-title {
		font-size: 18px;
	}

	.step-number {
		width: 30px;
		height: 30px;
		font-size: 13px;
	}

	.step-label {
		font-size: 9px;
	}
}

/* ============================================
   Progress Step Icons (replacing numbers)
   ============================================ */
.step-number .step-icon {
	font-size: 18px;
	line-height: 1;
}

.step-number .step-check {
	display: none;
	font-size: 16px;
	font-weight: 700;
}

.progress-step.completed .step-number .step-icon {
	display: none;
}

.progress-step.completed .step-number .step-check {
	display: inline;
}

/* Auto-skip: hide skipped steps from progress bar */
.progress-step.auto-skip {
	display: none;
}

/* Dynamic progress line width */
.geo-reservation-progress::after {
	width: var(--progress-width, 0%) !important;
}

/* ============================================
   Summary Card Layout
   ============================================ */
.summary-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 16px;
	overflow: hidden;
}

.summary-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background: #f5f5f5;
	border-bottom: 1px solid #e5e7eb;
	font-weight: 600;
	font-size: 14px;
	color: #111;
}

.summary-edit-btn {
	background: none;
	border: 1px solid #999;
	color: #666;
	padding: 4px 12px;
	font-size: 12px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.summary-edit-btn:hover {
	background: #111;
	color: #fff;
	border-color: #111;
}

.summary-card-body {
	padding: 12px 16px;
}

.summary-item {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}

.summary-item:last-child {
	border-bottom: none;
}

.summary-label {
	color: #666;
	font-size: 13px;
	flex-shrink: 0;
	margin-right: 16px;
}

.summary-value {
	color: #111;
	font-weight: 500;
	font-size: 14px;
	text-align: right;
}

/* ============================================
   Animations
   ============================================ */
@keyframes geo-success-fade-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ============================================
   Verification Code Form
   ============================================ */
.verification-code-form {
	margin: 24px 0;
	padding: 24px;
	background: var(--fb-bg, #f5f5f5);
	border: 1px solid var(--fb-border, #e5e7eb);
	border-radius: 8px;
}

.verification-code-form .verify-header p {
	margin: 0 0 8px 0;
	color: var(--fb-dark, #333);
}

.verification-code-form .verify-input-group {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 16px 0;
}

.verification-code-form .verify-code-input {
	flex: 0 0 180px;
	padding: 12px 16px;
	font-size: 24px;
	font-family: monospace;
	letter-spacing: 6px;
	text-align: center;
	border: 2px solid var(--fb-border, #e5e7eb);
	border-radius: 6px;
	background: var(--fb-white, #fff);
	outline: none;
	transition: border-color 0.2s;
}

.verification-code-form .verify-code-input:focus {
	border-color: var(--fb-black, #111);
}

.verification-code-form .btn-verify-code {
	padding: 12px 24px;
	background: var(--fb-black, #111);
	color: var(--fb-white, #fff);
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
}

.verification-code-form .btn-verify-code:hover {
	background: var(--fb-dark, #333);
}

.verification-code-form .btn-verify-code:disabled {
	background: var(--fb-muted, #999);
	cursor: not-allowed;
}

.verification-code-form .verify-message {
	margin: 8px 0;
	font-size: 14px;
}

.verification-code-form .verify-resend {
	margin: 12px 0 0 0;
	font-size: 13px;
}

.verification-code-form .resend-code-link {
	color: var(--fb-mid, #666);
	text-decoration: underline;
}

.verification-code-form .verify-success {
	text-align: center;
	padding: 16px 0;
}

.verification-code-form .verify-success .btn-my-page {
	display: inline-block;
	margin-top: 12px;
	padding: 10px 24px;
	background: var(--fb-black, #111);
	color: var(--fb-white, #fff);
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
}

@media (max-width: 480px) {
	.verification-code-form .verify-input-group {
		flex-direction: column;
		align-items: stretch;
	}

	.verification-code-form .verify-code-input {
		flex: none;
		width: 100%;
	}
}

/* ============================================
   My Page - Inline Auth UI (Login / Register)
   ============================================ */
.geo-my-page-auth {
	max-width: 480px;
	margin: 0 auto;
	padding: 40px 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
}

.auth-header {
	margin-bottom: 32px;
}

.auth-header h2 {
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 0;
	color: #1a1a1a;
}

.auth-tabs {
	display: flex;
	gap: 32px;
	border-bottom: 1px solid #E5E5E5;
	margin-bottom: 32px;
}

.auth-tab-button {
	padding: 12px 0;
	font-size: 15px;
	color: #999;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	transition: color 0.2s;
	font-weight: 500;
}

.auth-tab-button:hover {
	color: #333;
}

.auth-tab-button.active {
	color: #1a1a1a;
	border-bottom-color: #1a1a1a;
}

.auth-tab-content {
	display: none;
}

.auth-tab-content.active {
	display: block;
}

/* Auth Form Fields */
.auth-form .form-field {
	margin-bottom: 24px;
}

.auth-form .form-field label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 8px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.auth-form .form-field input {
	width: 100%;
	padding: 12px 16px;
	font-size: 15px;
	border: 1px solid #E5E5E5;
	border-radius: 6px;
	background: #FFFFFF;
	transition: border-color 0.15s;
	box-sizing: border-box;
}

.auth-form .form-field input:focus {
	outline: none;
	border-color: #999;
}

/* Submit Button */
.auth-form .btn-submit {
	width: 100%;
	font-size: 15px;
	padding: 12px 24px;
	background: #1a1a1a;
	color: #FFFFFF;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s;
	font-weight: 500;
}

.auth-form .btn-submit:hover {
	background: #333;
}

.auth-form .btn-submit:disabled {
	background: #E5E5E5;
	color: #999;
	cursor: not-allowed;
}

/* Form Links */
.auth-form .form-links {
	margin-top: 16px;
	text-align: center;
}

.auth-form .form-links a {
	font-size: 13px;
	color: #666;
	text-decoration: none;
}

.auth-form .form-links a:hover {
	color: #1a1a1a;
	text-decoration: underline;
}

/* Auth Messages */
.auth-message,
.verify-message {
	margin: 12px 0;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	display: none;
}

.auth-message.success,
.verify-message.success {
	background: #F0FDF4;
	color: #15803D;
	border-left: 3px solid #15803D;
	display: block;
}

.auth-message.error,
.verify-message.error {
	background: #FEF2F2;
	color: #DC2626;
	border-left: 3px solid #DC2626;
	display: block;
}

/* Verification Section within Auth */
.auth-verify-section .verification-code-form {
	margin: 0;
}

.auth-verify-section .verify-email-display {
	font-weight: 600;
	color: #1a1a1a;
}

.resend-code-link.disabled {
	color: #999;
	pointer-events: none;
	cursor: not-allowed;
}

/* Responsive */
@media (max-width: 480px) {
	.geo-my-page-auth {
		padding: 24px 16px;
	}

	.auth-header h2 {
		font-size: 24px;
	}

	.auth-tabs {
		gap: 24px;
	}

	.auth-form .form-field input {
		font-size: 16px; /* Prevents iOS zoom */
	}
}

