/**
 * FashionPoint Booking - Success Screen Styles
 *
 * @since 2.5.0
 */

/* ==========================================================================
	Booking Success Screen – Clean & Modern
	========================================================================== */

.fp-booking .booking-success-container {
	max-width: 480px;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 2rem;
	text-align: center;
}

/* ── Header ── */
.fp-booking .success-header {
	margin-bottom: 1.75rem;
}

.fp-booking .success-icon-circle {
	width: 64px;
	height: 64px;
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.fp-booking .success-icon-circle svg {
	width: 32px;
	height: 32px;
}

.fp-booking .success-title {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--fp-text, #1a1a1a);
	margin: 0 0 0.375rem;
	letter-spacing: -0.01em;
}

.fp-booking .success-subtitle {
	font-size: 0.875rem;
	color: var(--fp-text-light, #6b7280);
	margin: 0;
	line-height: 1.5;
}

/* ── Summary card ── */
.fp-booking .success-content {
	text-align: left;
	margin-bottom: 1.5rem;
	background: transparent;
	padding: 0;
	border: none;
}

.fp-booking .ss-card {
	background: #fff;
	border: 1px solid var(--fp-border, #e5e7eb);
	border-radius: var(--fp-radius, 12px);
	overflow: hidden;
}

/* Info rows */
.fp-booking .ss-info-row {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.875rem 1.25rem;
	border-bottom: 1px solid #f3f4f6;
}

.fp-booking .ss-info-row:last-child {
	border-bottom: none;
}

.fp-booking .ss-info-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	color: var(--fp-text-light, #6b7280);
	display: flex;
	align-items: center;
	justify-content: center;
}

.fp-booking .ss-info-icon svg {
	width: 16px;
	height: 16px;
}

.fp-booking .ss-info-body {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.fp-booking .ss-info-label {
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--fp-text-light, #9ca3af);
}

.fp-booking .ss-info-value {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--fp-text, #1a1a1a);
	line-height: 1.4;
}

/* Services section */
.fp-booking .ss-services-section {
	padding: 0.875rem 1.25rem;
	border-bottom: 1px solid #f3f4f6;
}

.fp-booking .ss-services-label {
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--fp-text-light, #9ca3af);
	margin-bottom: 0.625rem;
}

.fp-booking .ss-service-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.5rem 0;
}

.fp-booking .ss-service-row + .ss-service-row {
	border-top: 1px solid #f9fafb;
}

.fp-booking .ss-service-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.fp-booking .ss-service-name {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--fp-text, #1a1a1a);
	line-height: 1.3;
}

.fp-booking .ss-service-dur {
	font-size: 0.8125rem;
	color: var(--fp-text-light, #6b7280);
}

.fp-booking .ss-service-price {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--fp-text, #1a1a1a);
	white-space: nowrap;
	flex-shrink: 0;
}

/* Total row */
.fp-booking .ss-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 0.75rem;
	margin-top: 0.5rem;
	border-top: 1px solid var(--fp-border, #e5e7eb);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--fp-text, #1a1a1a);
}

.fp-booking .ss-total-price {
	font-size: 1.0625rem;
	font-weight: 700;
}

/* Pay online button */
.fp-booking .ss-pay-btn {
	display: block;
	text-align: center;
	margin-top: 0.75rem;
	padding: 0.875rem;
	background: var(--fp-accent, #d4af37);
	color: #fff;
	font-weight: 600;
	font-size: 0.9375rem;
	border-radius: var(--fp-radius, 12px);
	text-decoration: none;
	transition: background 0.2s, box-shadow 0.2s;
}

.fp-booking .ss-pay-btn:hover {
	background: #c49f2f;
	box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* ── Actions ── */
.fp-booking .success-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
}

.fp-booking .success-gcal-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	max-width: 320px;
	padding: 0.8125rem 1.25rem;
	background: #fff;
	border: 1px solid var(--fp-border, #e5e7eb);
	border-radius: var(--fp-radius, 12px);
	color: var(--fp-text, #1a1a1a);
	font-weight: 500;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: all 0.15s ease;
}

.fp-booking .success-gcal-btn:hover {
	border-color: #4285f4;
	color: #4285f4;
	background: #f0f4ff;
}

.fp-booking .success-gcal-btn svg {
	flex-shrink: 0;
}

.fp-booking .success-done-btn {
	width: 100%;
	max-width: 320px;
	padding: 0.875rem 1.25rem;
	background: var(--fp-accent, #d4af37);
	color: #fff;
	border: none;
	border-radius: var(--fp-radius, 12px);
	font-weight: 600;
	font-size: 0.9375rem;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
}

.fp-booking .success-done-btn:hover {
	background: #c49f2f;
	box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

/* ── Mobile ── */
@media (max-width: 640px) {
	.fp-booking .booking-success-container {
		padding: 1.5rem 1rem;
	}

	.fp-booking .success-icon-circle {
		width: 56px;
		height: 56px;
	}

	.fp-booking .success-icon-circle svg {
		width: 28px;
		height: 28px;
	}

	.fp-booking .success-title {
		font-size: 1.25rem;
	}

	.fp-booking .ss-info-row {
		padding: 0.75rem 1rem;
	}

	.fp-booking .ss-services-section {
		padding: 0.75rem 1rem;
	}

	.fp-booking .success-gcal-btn,
	.fp-booking .success-done-btn {
		max-width: none;
	}
}
