/* ==========================================
   COUPON SYSTEM STYLES
   Clean, Professional Gift Voucher Design
   ========================================== */

/* Step Number Circles */
.step-number-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 1rem;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(78, 205, 196, 0.25);
}

/* ==========================================
   PHONE NUMBER WITH COUNTRY CODE
   Override Bootstrap dropdown behavior for country selector
   ========================================== */

.country-code-menu.show {
    display: block !important;
}

/* Purchase Page Styles */
.amount-option {
	display: block;
	cursor: pointer;
}

.amount-option input[type="radio"] {
	position: absolute;
	opacity: 0;
}

.amount-card {
	border: 2px solid var(--gray-300);
	border-radius: var(--radius-md);
	padding: var(--spacing-md);
	text-align: center;
	transition: all var(--transition-base);
	background: var(--white);
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 90px;
}

.amount-card:hover {
	border-color: var(--primary);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

.amount-option input[type="radio"]:checked ~ .amount-card {
	border-color: var(--accent);
	background: rgba(78, 205, 196, 0.06);
	box-shadow: 0 2px 8px rgba(78, 205, 196, 0.15);
}

.amount-icon {
	font-size: 1.5rem;
	color: var(--primary);
	margin-bottom: 0.375rem;
}

.amount-option input[type="radio"]:checked ~ .amount-card .amount-icon {
	color: var(--accent);
}

.amount-value {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--gray-900);
	line-height: 1.2;
}

.amount-tooltip-text {
	font-size: 0.7rem;
	color: var(--gray-600);
	margin-top: 0.25rem;
	text-align: center;
	line-height: 1.3;
}

.amount-option input[type="radio"]:checked ~ .amount-card .amount-tooltip-text {
	color: var(--accent);
	font-weight: 500;
}

.custom-card .amount-value {
	font-size: 0.95rem;
	font-weight: 600;
}

/* Custom Amount Link Wrapper */
.custom-amount-link-wrapper {
	display: block;
	text-align: center;
	cursor: pointer;
	padding: var(--spacing-sm);
	margin-bottom: 0;
}

.custom-amount-link {
	color: var(--primary);
	text-decoration: underline;
	font-size: 0.9375rem;
	font-weight: 700;
	transition: color var(--transition-base);
}

.custom-amount-link:hover {
	color: var(--accent);
	text-decoration: underline;
}

.custom-amount-link-wrapper input[type="radio"]:checked ~ .custom-amount-link {
	color: var(--accent);
	font-weight: 600;
}

/* Custom Amount Input Wrapper */
.custom-amount-input-wrapper {
	margin-top: var(--spacing-md);
	animation: slideDown 0.25s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.custom-amount-section {
	background: var(--gray-50);
	padding: var(--spacing-md);
	border-radius: var(--radius-md);
	border: 1px solid var(--gray-200);
}

/* Amount Info Box */
.amount-info-box {
	display: flex;
	align-items: flex-start;
	gap: var(--spacing-sm);
	background: rgba(6, 214, 160, 0.08);
	border: 1px solid rgba(6, 214, 160, 0.25);
	border-radius: var(--radius-md);
	padding: var(--spacing-sm) var(--spacing-md);
	margin-top: var(--spacing-md);
	animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.amount-info-box i {
	font-size: 1.25rem;
	margin-top: .25rem;
}

/* Feature List */
.feature-list {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.feature-item {
	display: flex;
	align-items: flex-start;
	gap: var(--spacing-md);
	padding: var(--spacing-sm);
	border-radius: var(--radius-md);
	transition: background var(--transition-base);
}

.feature-item:hover {
	background: var(--gray-50);
}

.feature-icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(78, 205, 196, 0.1);
	border-radius: 50%;
	color: var(--accent);
	font-size: 1.125rem;
	flex-shrink: 0;
}

.feature-content {
	flex: 1;
}

.feature-content strong {
	display: block;
	color: var(--gray-900);
	margin-bottom: 0.25rem;
}

/* Steps Guide */
.steps-guide {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.step-guide-item {
	display: flex;
	align-items: flex-start;
	gap: var(--spacing-md);
	padding: var(--spacing-sm);
}

.step-guide-number {
	width: 32px;
	height: 32px;
	background: var(--primary);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 0.875rem;
	flex-shrink: 0;
}

.step-guide-content {
	flex: 1;
}

.step-guide-content strong {
	display: block;
	color: var(--gray-900);
	margin-bottom: 0.25rem;
	font-size: 0.9375rem;
}

/* Section Title - Reuse from booking-forms.css */
/* No additional styles needed, already defined globally */

/* Coupon Info Sidebar */
.coupon-info-sidebar {
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-lg);
	padding: var(--spacing-lg);
	transition: all var(--transition-base);
	box-shadow: var(--shadow-sm);
}

.coupon-info-sidebar:hover {
	box-shadow: var(--shadow-md);
}

/* Coupon View Page Styles */
.coupon-card {
	background: white;
	border-radius: 12px;
	padding: 40px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.coupon-amount {
	padding: 30px;
	background: linear-gradient(135deg, #2c5f7c 0%, #3a7ba0 100%);
	border-radius: 12px;
	color: white;
}

.amount-label {
	font-size: 14px;
	opacity: 0.9;
	color: rgba(255, 255, 255, 0.9) !important;
}

.amount-display {
	font-size: 48px;
	font-weight: bold;
	letter-spacing: -1px;
}

.coupon-code-section {
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.code-label {
	font-size: 14px;
}

.coupon-code {
	font-size: 32px;
	font-weight: bold;
	font-family: 'Courier New', monospace;
	color: #2c5f7c;
	letter-spacing: 3px;
}

.qr-code-wrapper {
	display: inline-block;
	padding: 15px;
	background: white;
	border: 2px solid #dee2e6;
	border-radius: 8px;
}

.qr-code-wrapper svg {
	max-width: 250px;
	height: auto;
	display: block;
}

.coupon-details {
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.detail-row {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #dee2e6;
}

.detail-row:last-child {
	border-bottom: none;
}

.detail-label {
	font-weight: 500;
	color: #6c757d;
}

.detail-value {
	font-weight: 600;
	color: #212529;
}

.gift-message-box {
	padding: 20px;
	background: #fff8e1;
	border-left: 4px solid #ffc107;
	border-radius: 4px;
}

.gift-message-title {
	font-weight: 600;
	color: #f57c00;
	margin-bottom: 10px;
}

.gift-message-content {
	color: #795548;
}

.usage-steps {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.usage-step {
	display: flex;
	align-items: start;
	gap: 15px;
}

.step-number {
	width: 36px;
	height: 36px;
	background: #2c5f7c;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	flex-shrink: 0;
}

.step-content {
	flex: 1;
}

.terms-section ul {
	padding-left: 20px;
	margin: 0;
}

.terms-section li {
	margin-bottom: 8px;
}

/* Divider - Reuse from booking-forms.css */
/* No additional styles needed, already defined globally */

/* Responsive Styles */
@media (max-width: 991px) {
	.amount-card {
		padding: var(--spacing-sm);
		min-height: 80px;
	}

	.amount-icon {
		font-size: 1.25rem;
		margin-bottom: 0.25rem;
	}

	.amount-value {
		font-size: 1.125rem;
	}

	.custom-card .amount-value {
		font-size: 0.875rem;
	}

	.coupon-card {
		padding: var(--spacing-lg);
	}

	.amount-display {
		font-size: 2.25rem;
	}

	.coupon-code {
		font-size: 1.5rem;
	}

	/* Sidebar adjustments on tablet and below */
	.coupon-info-sidebar {
		position: static !important;
		margin-top: var(--spacing-lg);
	}
}

@media (max-width: 768px) {
	.booking-summary {
		margin-top: var(--spacing-lg);
	}
}

/* Print Styles */
@media print {
	.info-card {
		display: none;
	}
	
	body {
		background: white;
	}
}
