/* Modern Glassmorphism & State-of-the-Art Luxury Design System for Dummy Hotel Booking Plugin */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.dhb-wrapper,
.dhb-booking-page-container {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #0f172a;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 0 15px rgba(0, 0, 0, 0.02);
	padding: 30px;
	margin: 25px auto;
	border: 1px solid rgba(226, 232, 240, 0.8);
	box-sizing: border-box;
}

/* Header & Brand */
.dhb-app-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 24px;
	border-bottom: 2px solid #f1f5f9;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 15px;
}

.dhb-app-brand h2 {
	margin: 0;
	font-family: 'Outfit', sans-serif;
	font-size: 1.8rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.dhb-app-brand p {
	margin: 4px 0 0 0;
	font-size: 0.92rem;
	color: #64748b;
	font-weight: 500;
}

.dhb-app-user-bar {
	display: flex;
	align-items: center;
	gap: 15px;
}

.dhb-wallet-badge {
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
	border: 1px solid #fcd34d;
	color: #92400e;
	padding: 8px 18px;
	border-radius: 30px;
	font-weight: 800;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
}

.dhb-user-info {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	color: #334155;
}

.dhb-btn-logout {
	color: #ef4444;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 700;
	padding: 6px 14px;
	border: 1px solid #fee2e2;
	border-radius: 8px;
	background: #fff5f5;
	transition: all 0.2s;
}

.dhb-btn-logout:hover {
	background: #fee2e2;
	color: #dc2626;
}

/* Tabs */
.dhb-nav-tabs {
	display: flex;
	gap: 10px;
	border-bottom: 2px solid #e2e8f0;
	margin-bottom: 30px;
	overflow-x: auto;
}

.dhb-tab-btn {
	background: transparent;
	border: none;
	padding: 14px 22px;
	font-size: 0.98rem;
	font-weight: 700;
	color: #64748b;
	cursor: pointer;
	border-bottom: 3px solid transparent;
	transition: all 0.25s ease;
	white-space: nowrap;
	border-radius: 10px 10px 0 0;
}

.dhb-tab-btn:hover {
	color: #2563eb;
	background: #f8fafc;
}

.dhb-tab-btn.active {
	color: #2563eb;
	border-bottom-color: #2563eb;
	background: #eff6ff;
}

.dhb-tab-pane {
	display: none;
}

.dhb-tab-pane.active {
	display: block;
	animation: dhbSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dhbSlideUp {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Search Card */
.dhb-search-card {
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
	border: 1px solid #e2e8f0;
}

.dhb-search-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 18px;
	align-items: end;
}

.dhb-field-box {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dhb-field-box label {
	font-size: 0.82rem;
	font-weight: 800;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.dhb-field-box input,
.dhb-field-box select,
.dhb-form-group input,
.dhb-form-group select,
.dhb-form-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid #cbd5e1;
	border-radius: 10px;
	font-size: 0.96rem;
	background: #ffffff;
	color: #0f172a;
	font-weight: 600;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.dhb-field-box input:focus,
.dhb-field-box select:focus,
.dhb-form-group input:focus,
.dhb-form-group select:focus,
.dhb-form-group textarea:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
	outline: none;
}

/* Buttons */
.dhb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 10px;
	font-weight: 800;
	font-size: 0.98rem;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-sizing: border-box;
}

.dhb-btn-primary {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	color: #ffffff;
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.dhb-btn-primary:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
	color: #fff;
}

.dhb-btn-accent {
	background: linear-gradient(135deg, #059669 0%, #047857 100%);
	color: #ffffff;
	box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

.dhb-btn-accent:hover {
	background: linear-gradient(135deg, #047857 0%, #065f46 100%);
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(5, 150, 105, 0.4);
	color: #fff;
}

.dhb-btn-success {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #fff;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.dhb-btn-success:hover {
	background: #059669;
	color: #fff;
}

.dhb-btn-block {
	width: 100%;
}

.dhb-btn-sm {
	padding: 8px 14px;
	font-size: 0.85rem;
	border-radius: 8px;
}

/* Hotel Cards */
.dhb-hotel-card {
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	overflow: hidden;
	margin-bottom: 24px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dhb-hotel-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

@media (max-width: 768px) {
	.dhb-hotel-card {
		grid-template-columns: 1fr;
	}
}

.dhb-hotel-thumb {
	position: relative;
	height: 100%;
	min-height: 240px;
}

.dhb-hotel-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dhb-hotel-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.dhb-hotel-title {
	margin: 0 0 6px 0;
	font-family: 'Outfit', sans-serif;
	font-size: 1.45rem;
	font-weight: 800;
	color: #0f172a;
}

.dhb-hotel-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #64748b;
	font-size: 0.9rem;
	margin-bottom: 14px;
}

.dhb-stars {
	color: #f59e0b;
	font-weight: 800;
	letter-spacing: 1px;
}

.dhb-hotel-desc {
	font-size: 0.92rem;
	color: #475569;
	line-height: 1.6;
	margin-bottom: 18px;
}

.dhb-amenities-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.dhb-amenity-tag {
	background: #f1f5f9;
	color: #334155;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 700;
}

/* Rooms List Box */
.dhb-rooms-list {
	background: #f8fafc;
	border-radius: 12px;
	padding: 16px;
	border: 1px solid #e2e8f0;
}

.dhb-room-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 16px;
	background: #ffffff;
	border-radius: 10px;
	border: 1px solid #cbd5e1;
	margin-bottom: 12px;
	flex-wrap: wrap;
	gap: 12px;
	transition: all 0.2s ease;
}

.dhb-room-row:hover {
	border-color: #93c5fd;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.dhb-room-row:last-child {
	margin-bottom: 0;
}

.dhb-room-info h5 {
	margin: 0 0 4px 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1e293b;
}

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

.dhb-room-pricing {
	display: flex;
	align-items: center;
	gap: 16px;
}

.dhb-room-price {
	text-align: right;
}

.dhb-room-price .coins {
	font-size: 1.25rem;
	font-weight: 800;
	color: #2563eb;
	display: block;
}

.dhb-room-price .stay-note {
	font-size: 0.78rem;
	color: #64748b;
}

/* Modal */
.dhb-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(8px);
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.dhb-modal.active {
	display: flex;
}

.dhb-modal-content {
	background: #ffffff;
	border-radius: 20px;
	max-width: 600px;
	width: 100%;
	padding: 32px;
	position: relative;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	max-height: 90vh;
	overflow-y: auto;
}

.dhb-modal-close {
	position: absolute;
	top: 20px;
	right: 24px;
	font-size: 26px;
	font-weight: 700;
	color: #94a3b8;
	cursor: pointer;
}

.dhb-modal-close:hover {
	color: #0f172a;
}

/* Auth Cards */
.dhb-auth-container {
	max-width: 460px;
	margin: 30px auto;
	background: #ffffff;
	border-radius: 18px;
	padding: 32px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
	border: 1px solid #e2e8f0;
}

.dhb-auth-tabs {
	display: flex;
	background: #f1f5f9;
	border-radius: 12px;
	padding: 5px;
	margin-bottom: 26px;
}

.dhb-auth-tab {
	flex: 1;
	background: transparent;
	border: none;
	padding: 12px;
	font-size: 0.92rem;
	font-weight: 800;
	color: #64748b;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.dhb-auth-tab.active {
	background: #ffffff;
	color: #2563eb;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.dhb-form {
	display: none;
}

.dhb-form.active {
	display: block;
}

.dhb-form-group {
	margin-bottom: 18px;
}

.dhb-form-group label {
	display: block;
	font-size: 0.88rem;
	font-weight: 700;
	color: #334155;
	margin-bottom: 8px;
}

/* Tables */
.dhb-table-responsive {
	overflow-x: auto;
}

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

.dhb-table th,
.dhb-table td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid #e2e8f0;
}

.dhb-table th {
	background: #f8fafc;
	font-weight: 800;
	color: #475569;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
}

/* Status Badges */
.dhb-status-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 800;
}

.dhb-status-success {
	background: #dcfce7;
	color: #15803d;
}

.dhb-status-pending {
	background: #fef3c7;
	color: #b45309;
}

.dhb-status-failed {
	background: #fee2e2;
	color: #b91c1c;
}
