/* Luxury Hotel Booking Form Styles - Radika Resort Inspired */
.radika-single-booking-container {
	position: relative;
	width: 100%;
	display: block;

	/* background: #ffffff; */
	max-width: 900px;
	margin: 40px auto;
	padding: 0 20px;

	
	padding: 0px;
	
	/* border-radius: 8px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
	border: 1px solid #e5e5e5; */

	position: relative;
	font-family: "Source Sans Pro", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

/* Force swal to behave like an absolute element inside the container */
.radika-single-booking-container .swal2-container {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: rgba(0,0,0,0.35) !important; /* optional, local overlay */
}

/* Steps */
.radika-single-booking-step {
	display: none;
	animation: fadeInStep 0.5s ease-in;
}

.radika-single-booking-step.active {
	display: block;
}

@keyframes fadeInStep {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.radika-booking-header {
	text-align: center;
	/* padding-bottom: 25px;
	margin-bottom: 5px; */
	margin-bottom: 40px;
	/* margin-bottom: 35px; */
	/*  */
	/* border-bottom: 2px solid #f0f0f0; */
}

.radika-booking-header h2 {
	font-family: "Source Sans Pro", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 32px;
	color: #2c2c2c;
	margin-bottom: 5px; 
	font-weight: 500;
}

.radika-booking-title {
	color: #2c3e50;
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 10px 0;
	letter-spacing: -0.5px;
	/* font-family: "Playfair Display", Georgia, serif; */
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.radika-booking-subtitle {
	color: #7f8c8d;
	font-size: 16px;
	margin: 0;
	font-weight: 400;
}

.sform-radika-guest-form {
	position: relative;
	padding: 40px;
	border-radius: 8px;
	/* box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1); */
	border: 1px solid #e5e5e5;
	margin-bottom: 1.6em;
}

.radika-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.radika-form-row.radika-full-width {
	grid-template-columns: 1fr;
}

.radika-form-group {
	display: flex;
	flex-direction: column;
}

.radika-form-group label {
	color: #2c3e50;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.required {
	color: #e74c3c;
}

.radika-form-group input,
.radika-form-group select,
.radika-form-group textarea {
	padding: 14px 16px;
	border: 1px solid #dcdcdc;
	border-radius: 4px;
	font-size: 15px;
	background: #ffffff;
	transition: all 0.3s ease;
	color: #2c3e50;
	font-family: inherit;
	height: 50px;
}

.radika-form-group input:focus,
.radika-form-group select:focus,
.radika-form-group textarea:focus {
	outline: none;
	border-color: #8B7355;
	box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.radika-form-group input::placeholder,
.radika-form-group textarea::placeholder {
	color: #bdc3c7;
}

.radika-form-group textarea {
	resize: vertical;
	min-height: 100px;
}


.radika-error-msg {
	color: #d54444;
	font-size: 13px;
	margin-top: 4px;
	display: block;
}


.radika-form-group input.error,
.radika-form-group textarea.error {
	border-color: #d54444 !important;

}

.radika-payment-option.error {
	outline: 2px solid #d54444;
}

.form-group select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232c3e50' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

.radika-form-inline{
	container-type: inline-size;
}

.radika-form-row-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.radika-number-spinner {
	display: flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	height: 50px;
}

.radika-number-spinner:focus-within {
	border-color: #8B7355; /* your color */
}

.radika-number-spinner input {
	pointer-events: none;
	outline: none;
	box-shadow: none;
	border: none;
	text-align: center;
	border-radius: 0px; 
	flex: 1;
	padding: 12px 0px;
	padding-left: 15px;
	font-size: 15px;
	font-weight: 600;
	color: #333;
	height: 100%;
}

.radika-number-spinner input:focus {
	box-shadow: none;
	outline: none;
}

.radika-spinner-btn {
	background: #f8f9fa;
	border: none;
	width: 45px;
	height: 100%;
	font-size: 20px;
	font-weight: 600;
	color: #666;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.radika-spinner-btn:focus {
	box-shadow: none;
	outline: none;

	background: #8B7355;
	color: #fff;
}

.radika-spinner-btn:hover {
	background: #8B7355;
	color: #fff;
}

.radika-spinner-btn:active {
	transform: scale(0.95);
}

.radika-spinner-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.radika-spinner-btn:disabled:hover {
	background: #f5f5f5;
	color: #666;
}


.radika-guest-counter-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.radika-guest-counter {
	display: flex;
	flex-direction: column;
}

.radika-guest-counter label {
	color: #2c3e50;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.radika-counter-control {
	display: flex;
	align-items: center;
	border: 1px solid #dcdcdc;
	border-radius: 4px;
	background: #ffffff;
	overflow: hidden;
}

.radika-counter-btn {
	width: 45px;
	height: 48px;
	border: none;
	background: #f8f9fa;
	color: #2c3e50;
	font-size: 20px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.radika-counter-btn:hover {
	background: #8B7355;
	color: #ffffff;
}

.radika-counter-btn:active {
	background: #6d5840;
	transform: scale(0.95);
}

.radika-counter-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.radika-counter-btn:disabled:hover {
	background: #f8f9fa;
	color: #2c3e50;
}

.radika-counter-value {
	flex: 1;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
	padding: 0 15px;
	border: none;
}

/* Button Styles */
.radika-form-actions {
	display: flex;
	gap: 15px;
	margin-top: 30px;
}

.radika-form-actions .radika-btn {
	flex: 1;
	margin-top: 0;
}

.radika-btn {
	padding: 14px 32px;
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: 7px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	height: 52px;
}

.radika-btn-primary {
	background: #8B7355;
	color: #fff;
	/* width: 100%; */
	margin-top: 20px;
}

.radika-btn-primary:hover{
	/* background: #d5b990; */
	/* background: #9b6303; */
	background: #493724;
	color: #f2be64;
	/* transform: translateX(5px); */
	transform: translateY(-2px);
	/* box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3); */
}

.radika-btn-full{
	width: 100%;	
}

.radika-btn-secondary {
	background: #f5f5f5;
	color: #333;
}

.radika-btn-secondary:hover {
	background: #e0e0e0;
	transform: translateY(-2px);
}


/* -------------- */

/* .btn-book-now,
.radika-btn-primary {
	width: 100%;
	padding: 16px 40px;
	background: #8B7355;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.btn-book-now:hover,
.radika-btn-primary:hover {
	background: #6d5840;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.btn-book-now:active,
.radika-btn-primary:active {
	transform: translateY(0);
}

.radika-btn-secondary {
	padding: 16px 40px;
	background: #f5f5f5;
	color: #333;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.radika-btn-secondary:hover {
	background: #e0e0e0;
}

.radika-btn-icon {
	font-size: 20px;
	transition: transform 0.3s ease;
}

.radika-btn-primary:hover .radika-btn-icon {
	transform: translateX(5px);
}
 */
.form-message {
	padding: 15px 20px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 14px;
	font-weight: 500;
}

.form-message.success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.form-message.error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

/* Guest detail Page */
.radika-input-section{
	background: #f9f9f9;
	padding: 20px 25px;
	border-radius: 8px;
	margin-bottom: 20px;
	/* border-left: 4px solid #8B7355;
	border-right: 4px solid #8B7355; */
}

/* Summary Page */
.radika-summary-container {
	background: #fff;
}

.radika-summary-section {
	background: #f9f9f9;
	padding: 20px 25px;
	/* border-radius: 6px; */
	margin-bottom: 20px;
	margin-top: 1.68em;
	border-radius: 8px;
	/* box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1); */
	border: 1px solid #e5e5e5;
	border-left: 4px solid #8B7355;
}

.radika-summary-heading {
	font-family: "Source Sans Pro", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	color: #2c3e50;
	font-size: 18px;
	font-weight: 500;
	margin: 0 0 15px 0;
}

.radika-summary-item {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #e0e0e0;
}

.radika-summary-item:last-child {
	border-bottom: none;
	font-weight: 600;
	font-size: 18px;
	color: #8B7355;
	padding-top: 15px;
}

.radika-summary-label {
	color: #7f8c8d;
	font-weight: 500;
}

.radika-summary-value {
	color: #2c3e50;
	font-weight: 600;
}

.radika-summary-text {
	color: #7f8c8d;
	line-height: 1.6;
	margin: 0;
}

.radika-summary-total {
	background: #2c3e50;
	color: #fff;
	padding: 25px;
	border-radius: 6px;
	margin-bottom: 25px;
}

.radika-total-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	font-size: 16px;
}

.radika-total-row.radika-total-main {
	padding-top: 15px;
	margin-top: 15px;
	border-top: 2px solid rgba(255, 255, 255, 0.2);
	font-size: 24px;
	font-weight: 700;
}

.radika-total-label {
	font-weight: 500;
}

.radika-total-value {
	color: #8B7355;
	font-weight: 700;
}

.radika-summary-actions {
	display: flex;
	gap: 15px;
	margin-top: 30px;
}

.radika-summary-actions .radika-btn-primary,
.radika-summary-actions .radika-btn-secondary {
	flex: 1;
	margin-top: 0;
}

/* Thank You Page */
.radika-thankyou-content {
	text-align: center;
	padding: 60px 20px;
}

.radika-thankyou-icon {
	width: 80px;
	height: 80px;
	background: #4CAF50;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	margin: 0 auto 30px;
	animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
	from {
		transform: scale(0);
	}
	to {
		transform: scale(1);
	}
}

.radika-thankyou-title {
	font-family: "Source Sans Pro", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 32px;
	color: #2c3e50;
	margin-bottom: 15px;
	font-weight: 700;
	
}

.radika-thankyou-message {
	font-size: 16px;
	color: #7f8c8d;
	line-height: 1.6;
	margin-bottom: 30px;
}

.radika-thankyou-details {
	border-radius: 8px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
	border: 1px solid #e5e5e5;

	background: #f9f9f9;
	padding: 20px;
	/* border-radius: 6px; */
	margin-bottom: 30px;
	border-left: 4px solid #8B7355;
}

.radika-thankyou-details p {
	margin: 10px 0;
	color: #7f8c8d;
}

.radika-thankyou-details strong {
	color: #2c3e50;
}

.radika-form-guest-detail {
	position: relative;
	width: 100%;
	display: block;
	overflow-y: auto;
	max-height: 10000px;
}
/* Loading Overlay */
.radika-loading {
	/* position: fixed; */
	position: absolute;
	inset: 0;
	/* top: 0;
	left: 0;
	right: 0;
	bottom: 0; */
	/* background: rgba(0,0,0,0.5); */
	background: rgba(0,0,0,0.25);

	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.radika-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #8B7355;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
	.luxury-booking-container,
	.radika-single-booking-container {
		padding: 30px 20px;
	}
	
	.booking-title,
	.radika-booking-title {
		font-size: 26px;
	}
	
	.form-row,
	.guest-counter-row,
	.radika-form-row,
	.radika-guest-counter-row {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.btn-book-now,
	.radika-btn-primary {
		padding: 14px 30px;
		font-size: 15px;
	}

	.radika-summary-actions {
		flex-direction: column;
	}

	.radika-total-row.radika-total-main {
		font-size: 20px;
	}
}

.radika-payment-methods {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 10px;
}

.radika-payment-option {
	display: flex;
	align-items: center;
	cursor: pointer;
	border-radius: 6px;
	transition: 0.3s ease;
	border: 1px solid #ddd;
	padding: 20px 14px;
	background: #fff;
}

.radika-payment-option.selected {
	border-color: #8B7355;
	box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.15);
	background: #fdf9f4;
}

.radika-payment-option:hover {
	border-color: #8B7355;
	box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.radika-payment-option input[type="radio"] {
	margin-right: 15px;
	transform: scale(1.3);
	accent-color: #8B7355;
	appearance: auto;
}

.radika-payment-option input[type="radio"]:before {
	background-color: unset;
}

.radika-payment-option input[type="radio"]:focus {
	outline: none !important;
	box-shadow: none !important;
}

.radika-payment-box {
	display: flex;
	flex-direction: column;
}

.radika-pay-title {
	font-size: 15px;
	font-weight: 600;
	color: #2c3e50;
	line-height: 1.2em;
}

.radika-pay-desc {
	font-size: 13px;
	color: #7f8c8d;
	margin-top: 3px;
	line-height: 1.2em;
}
