/* Official Printable Dummy Hotel Voucher Stylesheet for Visa Application */

body.dhb-voucher-body {
	margin: 0;
	padding: 0;
	background: #f1f5f9;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #0f172a;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

/* Print Top Action Bar */
.dhb-print-bar {
	background: #0f172a;
	color: #ffffff;
	padding: 12px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.95rem;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dhb-btn-print {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	color: #ffffff;
	border: none;
	padding: 8px 20px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.dhb-btn-print:hover {
	background: #1d4ed8;
}

/* Voucher Container */
.dhb-voucher-container {
	max-width: 840px;
	margin: 30px auto;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 40px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Header */
.dhb-voucher-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding-bottom: 24px;
	border-bottom: 2px solid #e2e8f0;
}

.dhb-brand h2 {
	margin: 0 0 6px 0;
	font-size: 1.4rem;
	font-weight: 800;
	color: #1e3a8a;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.dhb-brand p {
	margin: 0;
	font-size: 0.85rem;
	color: #64748b;
}

/* Stamp Box */
.stamp-box {
	border: 3px double #166534;
	background: #f0fdf4;
	color: #15803d;
	padding: 8px 16px;
	border-radius: 6px;
	text-align: center;
	transform: rotate(-3deg);
	box-shadow: 0 2px 4px rgba(22, 101, 52, 0.1);
}

.stamp-title {
	display: block;
	font-size: 1.1rem;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.stamp-sub {
	display: block;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
}

/* Banner */
.dhb-voucher-title-banner {
	text-align: center;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	padding: 16px;
	border-radius: 6px;
	margin: 24px 0;
}

.dhb-voucher-title-banner h1 {
	margin: 0 0 4px 0;
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: #0f172a;
}

.dhb-voucher-title-banner p {
	margin: 0;
	font-size: 0.85rem;
	color: #475569;
	font-weight: 500;
}

/* Grids */
.dhb-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 24px;
}

.dhb-info-card {
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 16px;
	background: #fafafa;
}

.dhb-info-card h3 {
	margin: 0 0 12px 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1e293b;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 6px;
}

.dhb-details-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
}

.dhb-details-table th {
	text-align: left;
	color: #64748b;
	font-weight: 600;
	padding: 4px 0;
	width: 45%;
}

.dhb-details-table td {
	color: #0f172a;
	padding: 4px 0;
}

.pnr-highlight {
	font-family: monospace;
	font-size: 1.05rem;
	color: #2563eb;
	background: #eff6ff;
	padding: 2px 6px;
	border-radius: 4px;
}

.text-success {
	color: #166534;
	font-weight: 700;
}

.star-rating {
	color: #f59e0b;
	display: inline-block;
	margin-left: 6px;
	font-size: 0.85rem;
}

/* Section Box */
.dhb-section-box {
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 20px;
	margin-bottom: 24px;
}

.dhb-section-box h3 {
	margin: 0 0 16px 0;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
}

.dhb-stay-flex {
	display: flex;
	justify-content: space-around;
	align-items: center;
	background: #f1f5f9;
	padding: 16px;
	border-radius: 6px;
	margin-bottom: 18px;
	text-align: center;
}

.dhb-stay-col .label {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	color: #64748b;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
}

.dhb-stay-col .value {
	display: block;
	font-size: 1.1rem;
	font-weight: 800;
	color: #0f172a;
}

.dhb-stay-col small {
	font-size: 0.75rem;
	color: #64748b;
}

.nights-tag {
	background: #1e3a8a;
	color: #ffffff;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.05em;
}

/* Tables */
.dhb-guests-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
	margin-top: 10px;
}

.dhb-guests-table th,
.dhb-guests-table td {
	border: 1px solid #cbd5e1;
	padding: 10px 12px;
	text-align: left;
}

.dhb-guests-table th {
	background: #f8fafc;
	font-weight: 700;
	color: #334155;
}

.guest-list {
	margin: 0;
	padding-left: 18px;
}

.guest-list li {
	margin-bottom: 3px;
	font-weight: 600;
}

/* Policy */
.dhb-policy-section {
	background: #fffbebf;
	background: #fefce8;
	border: 1px solid #fef08a;
	border-radius: 6px;
	padding: 16px;
	margin-bottom: 24px;
}

.dhb-policy-section h4 {
	margin: 0 0 8px 0;
	font-size: 0.88rem;
	font-weight: 800;
	color: #854d0e;
}

.dhb-policy-section ul {
	margin: 0;
	padding-left: 18px;
	font-size: 0.82rem;
	color: #713f12;
	line-height: 1.5;
}

/* Footer & Barcode */
.dhb-voucher-footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding-top: 20px;
	border-top: 2px solid #e2e8f0;
}

.barcode-box {
	text-align: center;
}

.mock-barcode {
	font-family: monospace;
	font-size: 1.4rem;
	letter-spacing: 2px;
	font-weight: 900;
	color: #0f172a;
}

.barcode-box code {
	display: block;
	font-size: 0.8rem;
	color: #64748b;
	margin-top: 4px;
}

.auth-box {
	text-align: right;
	font-size: 0.82rem;
	color: #475569;
}

.auth-box p {
	margin: 0 0 2px 0;
}

.sig-title {
	font-weight: 700;
	color: #0f172a;
}

/* Print Media Rules */
@media print {
	.dhb-print-bar {
		display: none !important;
	}

	body.dhb-voucher-body {
		background: #ffffff;
	}

	.dhb-voucher-container {
		border: none;
		box-shadow: none;
		padding: 0;
		margin: 0;
		max-width: 100%;
	}
}
