/* =================================================================
   DoubleScale Booking — Shared page styles
   Used by the booking confirm / cancel / calendar / waitlist pages.
   ================================================================= */

.doublescale-booking-meeting {
	min-height: 100vh;
	padding: 20px;
	position: relative;
	z-index: 99;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.details-container {
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
	padding: 32px;
	text-align: center;
}

/* Header / page intro */
.profile-picture {
	margin: 0 auto 16px;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid #e0e0e0;
	overflow: hidden;
}

.profile-picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.title {
	font-size: 22px;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 8px;
}

.calendar-info {
	border: 1px solid #D3D4D6;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 15px;
	color: #292d32;
	margin-bottom: 24px;
	text-align: center;
}

/* Booking summary card (shared between confirm & cancel) */
.booking-card {
	background: #f7f8fa;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	text-align: left;
	margin-bottom: 24px;
}

.booking-card .event-title {
	font-size: 20px;
	font-weight: 600;
	color: #1A1A1A;
	margin-bottom: 12px;
}

.booking-card p {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0;
	color: #292d32;
	font-size: 14px;
}

.booking-card p span img {
	width: 16px;
	height: 16px;
	display: block;
}

/* Add-to-calendar row on confirm page */
.calendar-buttons {
	margin-top: 24px;
	text-align: center;
}

.calendar-buttons p {
	color: #4a5568;
	font-size: 14px;
	margin-bottom: 12px;
}

.calendar-buttons .icons {
	display: inline-flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
}

.calendar-buttons .icons a {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.calendar-buttons .icons a:hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.calendar-buttons .icons a img {
	width: 22px;
	height: 22px;
}

/* Change options & confirmation footer (confirm page) */
.change-options {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 24px;
	flex-wrap: wrap;
}

.change-options a,
.cancel-link,
.reschedule-link {
	font-size: 14px;
	color: #3A3A99;
	text-decoration: underline;
}

.change-options a:hover,
.cancel-link:hover,
.reschedule-link:hover {
	color: #1a1a99;
}

.confirmation-footer {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
	font-size: 13px;
	color: #718096;
	text-align: center;
}

/* Cancel page extras */
.already-cancelled-message {
	background: #fff8e1;
	border: 1px solid #f0d68a;
	color: #715403;
	padding: 14px;
	border-radius: 8px;
	margin: 20px 0;
	text-align: center;
	font-size: 14px;
}

.cancellation-container {
	margin-top: 16px;
}

.cancellation-input-container {
	text-align: left;
	margin-bottom: 12px;
}

.cancellation-input-container label {
	display: block;
	font-weight: 600;
	color: #2d3748;
	margin-bottom: 6px;
	font-size: 14px;
}

.cancellation-input-container .required {
	color: #dc2626;
	margin-left: 2px;
}

.cancellation-input-container textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	resize: vertical;
}

.cancellation-input-container textarea.error {
	border-color: #dc2626;
}

.validation-message {
	color: #dc2626;
	font-size: 13px;
	min-height: 18px;
	margin-top: 4px;
}

.help-text {
	font-size: 12px;
	color: #718096;
	margin-top: 4px;
}

.calendar-buttons-container {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 12px;
	flex-wrap: wrap;
}

.cancel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 8px;
	background: #dc2626;
	color: #fff;
	border: none;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.cancel-btn:hover {
	background: #b91c1c;
}

.cancel-btn.nevermind-btn {
	background: #e2e8f0;
	color: #1a1a1a;
}

.cancel-btn.nevermind-btn:hover {
	background: #cbd5e1;
}

.success-message {
	background: #ecfdf5;
	border: 1px solid #6ee7b7;
	color: #065f46;
	padding: 14px;
	border-radius: 8px;
	margin-top: 20px;
	text-align: center;
	font-size: 14px;
}

/* Responsive */
@media (max-width: 640px) {
	.doublescale-booking-meeting { padding: 12px; }
	.details-container { padding: 20px; }
	.title { font-size: 20px; }
	.change-options { flex-direction: column; align-items: center; gap: 8px; }
}
