/**
 * Customer Dashboard Styles
 *
 * Full-screen dashboard (100vh x 100vw) - Independent of WordPress theme
 *
 * @package Beekite_Booking
 */

/* Variables - Self-contained styling */
:root {

	/* Colors */
	--bb-primary: #0073aa;
	--bb-primary-hover: #005a87;
	--bb-primary-bg: rgba(0, 115, 170, 0.1);
	--bb-secondary: #50575e;
	--bb-success: #00a32a;
	--bb-success-bg: rgba(0, 163, 42, 0.1);
	--bb-danger: #d63638;
	--bb-danger-bg: rgba(214, 54, 56, 0.1);
	--bb-danger-hover: #b32d2e;
	--bb-warning: #dba617;
	--bb-warning-bg: rgba(219, 166, 23, 0.1);

	/* Background & Surface */
	--bb-border: #c3c4c7;
	--bb-bg: #f0f0f1;
	--bb-bg-card: #fff;

	/* Text colors */
	--bb-text: #1d2327;
	--bb-text-secondary: #50575e;
	--bb-text-muted: #787c82;

	/* Spacing & Sizing */
	--bb-radius: 4px;
	--bb-radius-sm: 3px;
	--bb-radius-lg: 6px;
	--bb-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	--bb-shadow-md: 0 1px 3px rgba(0, 0, 0, 0.1);
	--bb-shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.15);
	--bb-transition: all 0.15s ease-in-out;
	--bb-sidebar-width: 260px;

	/* Typography */
	--bb-font-family: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen-sans, ubuntu, cantarell, "Helvetica Neue", sans-serif;
	--bb-font-size-base: 14px;
	--bb-font-size-lg: 16px;
	--bb-font-size-sm: 13px;
	--bb-line-height: 1.6;
}

/* Full-screen reset for dashboard page */
.bb-dashboard-page {
	margin: 0 !important;
	padding: 0 !important;
}

/* Dashboard Container - Full viewport */
.bb-dashboard-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	display: grid;
	grid-template-columns: var(--bb-sidebar-width) 1fr;
	height: 100vh;
	width: 100vw;
	font-family: var(--bb-font-family);
	font-size: var(--bb-font-size-base);
	line-height: var(--bb-line-height);
	background: var(--bb-bg);
	color: var(--bb-text);
	overflow: hidden;
	z-index: 9999;
}

/* Back to site link */
.bb-sidebar-top {
	padding: 16px 20px;
	border-bottom: 1px solid var(--bb-border);
}

.bb-back-to-site {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bb-text-secondary);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: var(--bb-transition);
}

.bb-back-to-site:hover {
	color: var(--bb-primary);
}

.bb-back-to-site svg {
	flex-shrink: 0;
}

/* Sidebar */
.bb-sidebar {
	background: var(--bb-bg-card);
	border-right: 1px solid var(--bb-border);
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 0;
	height: 100vh;
	overflow-y: auto;
}

.bb-sidebar-header {
	padding: 28px 24px;
	border-bottom: 1px solid var(--bb-border);
	display: flex;
	align-items: center;
	gap: 16px;
}

.bb-user-avatar {
	flex-shrink: 0;
}

.bb-user-avatar img,
.bb-user-avatar .bb-custom-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--bb-primary-bg);
}

.bb-user-info {
	flex: 1;
	min-width: 0;
}

.bb-user-name {
	display: block;
	font-weight: 600;
	font-size: 16px;
	color: var(--bb-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bb-user-email {
	display: block;
	font-size: 13px;
	color: var(--bb-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 2px;
}

.bb-sidebar-nav {
	flex: 1;
	padding: 16px 12px;
}

.bb-nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	margin-bottom: 4px;
	color: var(--bb-text-secondary);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	border-radius: var(--bb-radius-sm);
	transition: var(--bb-transition);
}

.bb-nav-item:hover {
	background: var(--bb-bg);
	color: var(--bb-text);
}

.bb-nav-item.active {
	background: var(--bb-primary-bg);
	color: var(--bb-primary);
}

.bb-nav-icon {
	flex-shrink: 0;
	opacity: 0.7;
}

.bb-nav-item.active .bb-nav-icon {
	opacity: 1;
}

.bb-sidebar-footer {
	padding: 16px 12px;
	border-top: 1px solid var(--bb-border);
}

.bb-logout-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 16px;
	color: var(--bb-danger);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	border-radius: var(--bb-radius-sm);
	transition: var(--bb-transition);
}

.bb-logout-btn:hover {
	background: var(--bb-danger-bg);
}

/* Main Content */
.bb-main-content {
	padding: 32px 48px;
	overflow-y: auto;
	background: var(--bb-bg);
}

/* Remove padding when home tab is shown */
.bb-main-content:has(.bb-home-tab) {
	padding: 0;
}

.bb-main-content > * {
	max-width: 100%;
	width: 100%;
}

/* Mobile Sidebar Toggle */
.bb-sidebar-toggle {
	display: none;
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 56px;
	height: 56px;
	background: var(--bb-primary);
	color: white;
	border: none;
	border-radius: 50%;
	box-shadow: var(--bb-shadow-lg);
	cursor: pointer;
	z-index: 1000;
	align-items: center;
	justify-content: center;
}

/* Navigation Tabs */
.bb-dashboard-nav {
	display: flex;
	gap: 8px;
	margin-bottom: 28px;
	background: var(--bb-bg-card);
	padding: 6px;
	border-radius: var(--bb-radius);
	box-shadow: var(--bb-shadow);
}

.bb-nav-tab {
	flex: 1;
	padding: 14px 24px;
	color: var(--bb-text-secondary);
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	text-align: center;
	border-radius: var(--bb-radius-sm);
	transition: var(--bb-transition);
}

.bb-nav-tab:hover {
	color: var(--bb-text);
	background: var(--bb-bg);
}

.bb-nav-tab.active {
	color: white;
	background: var(--bb-primary);
	box-shadow: var(--bb-shadow);
}

/* Bookings Tab */
.bb-bookings-filters {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
}

.bb-filter-btn {
	padding: 10px 20px;
	background: var(--bb-bg-card);
	color: var(--bb-text-secondary);
	text-decoration: none;
	border-radius: 100px;
	font-size: 13px;
	font-weight: 500;
	transition: var(--bb-transition);
	border: 1px solid var(--bb-border);
}

.bb-filter-btn:hover {
	border-color: var(--bb-primary);
	color: var(--bb-primary);
}

.bb-filter-btn.active {
	background: var(--bb-primary-bg);
	color: var(--bb-primary);
	border-color: var(--bb-primary);
}

/* Bookings List */
.bb-bookings-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.bb-no-bookings {
	text-align: center;
	padding: 60px 32px;
	background: var(--bb-bg-card);
	border-radius: var(--bb-radius);
	box-shadow: var(--bb-shadow);
}

.bb-no-bookings p {
	margin: 0;
	color: var(--bb-text-muted);
	font-size: 15px;
}

.bb-no-bookings::before {
	content: "📅";
	display: block;
	font-size: 48px;
	margin-bottom: 16px;
	opacity: 0.5;
}

/* Booking Card */
.bb-booking-card {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	align-items: center;
	gap: 20px;
	padding: 20px 24px;
	background: var(--bb-bg-card);
	border-radius: var(--bb-radius);
	box-shadow: var(--bb-shadow);
	transition: var(--bb-transition);
	border: 1px solid transparent;
}

.bb-booking-card:hover {
	box-shadow: var(--bb-shadow-md);
	border-color: var(--bb-border);
	transform: translateY(-2px);
}

.bb-booking-card.bb-status-cancelled {
	opacity: 0.6;
}

/* Booking Date */
.bb-booking-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 72px;
	padding: 14px 16px;
	background: linear-gradient(135deg, var(--bb-primary) 0%, var(--bb-primary-light) 100%);
	color: white;
	border-radius: var(--bb-radius);
	text-align: center;
	box-shadow: var(--bb-shadow);
}

.bb-booking-date .bb-date-day {
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}

.bb-booking-date .bb-date-month {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-top: 4px;
	opacity: 0.9;
}

.bb-booking-date .bb-date-year {
	font-size: 11px;
	opacity: 0.7;
	margin-top: 2px;
}

/* Booking Details */
.bb-booking-details {
	flex: 1;
	min-width: 0;
}

.bb-booking-activity {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	color: var(--bb-text);
}

.bb-booking-variation {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--bb-text-secondary);
	background: var(--bb-bg);
	display: inline-block;
	padding: 3px 10px;
	border-radius: 100px;
}

.bb-booking-time,
.bb-booking-quantity {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 6px 16px 0 0;
	font-size: 13px;
	color: var(--bb-text-muted);
}

.bb-booking-time .dashicons,
.bb-booking-quantity .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: var(--bb-text-muted);
}

/* Status Badge - Theme-compliant colors */
.bb-booking-status {
	min-width: 100px;
	text-align: center;
}

.bb-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	font-size: var(--bb-font-size-sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	border-radius: 100px;
}

.bb-status-badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentcolor;
}

.bb-status-badge.bb-status-confirmed {
	background: var(--bb-success-bg);
	color: var(--bb-success);
}

.bb-status-badge.bb-status-pending {
	background: var(--bb-warning-bg);
	color: var(--bb-warning);
}

.bb-status-badge.bb-status-cancelled {
	background: var(--bb-danger-bg);
	color: var(--bb-danger);
}

/* Booking Actions */
.bb-booking-actions {
	display: flex;
	gap: 10px;
}

/* Buttons - Theme-compliant styling */
.bb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	font-family: inherit;
	font-size: var(--bb-font-size-base);
	font-weight: 500;
	line-height: 1;
	border: none;
	border-radius: var(--bb-radius-sm);
	cursor: pointer;
	text-decoration: none;
	transition: var(--bb-transition);
	-webkit-appearance: none;
	appearance: none;
}

.bb-btn-primary {
	background: var(--bb-primary);
	color: #fff;
	box-shadow: 0 1px 2px color-mix(in srgb, var(--bb-primary) 30%, transparent);
}

.bb-btn-primary:hover,
.bb-btn-primary:focus {
	background: var(--bb-primary-hover);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px color-mix(in srgb, var(--bb-primary) 35%, transparent);
	outline: none;
}

.bb-btn-secondary {
	background: var(--bb-secondary);
	color: #fff;
}

.bb-btn-secondary:hover,
.bb-btn-secondary:focus {
	background: color-mix(in srgb, var(--bb-secondary) 85%, black);
	color: #fff;
	outline: none;
}

.bb-btn-outline {
	background: transparent;
	color: var(--bb-primary);
	border: 1.5px solid var(--bb-primary);
}

.bb-btn-outline:hover,
.bb-btn-outline:focus {
	background: var(--bb-primary);
	color: #fff;
	outline: none;
}

.bb-btn-danger {
	background: var(--bb-danger);
	color: #fff;
}

.bb-btn-danger:hover,
.bb-btn-danger:focus {
	background: var(--bb-danger-hover);
	color: #fff;
	outline: none;
}

.bb-btn-small {
	padding: 8px 16px;
	font-size: 13px;
}

.bb-btn-full {
	width: 100%;
}

.bb-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* Booking Detail View */
.bb-booking-detail {
	background: var(--bb-bg-card);
	padding: 28px;
	border-radius: var(--bb-radius);
	box-shadow: var(--bb-shadow);
}

.bb-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--bb-text-muted);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 24px;
	transition: var(--bb-transition);
}

.bb-back-link:hover {
	color: var(--bb-primary);
}

.bb-booking-detail-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--bb-border);
}

.bb-booking-detail-header h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
	color: var(--bb-text);
}

.bb-booking-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.bb-detail-item {
	background: var(--bb-bg);
	padding: 16px;
	border-radius: var(--bb-radius-sm);
}

.bb-detail-item label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: var(--bb-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.bb-detail-item p {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--bb-text);
}

.bb-detail-full {
	grid-column: 1 / -1;
}

.bb-booking-detail-actions {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--bb-border);
}

/* Profile Tab */
.bb-profile-tab {
	max-width: 800px;
}

.bb-profile-form,
.bb-password-form {
	background: var(--bb-bg-card);
	padding: 28px;
	border-radius: var(--bb-radius);
	box-shadow: var(--bb-shadow);
}

.bb-profile-form h3 {
	margin: 0 0 20px;
	padding-bottom: 12px;
	font-size: 16px;
	font-weight: 600;
	color: var(--bb-text);
	border-bottom: 1px solid var(--bb-border);
}

.bb-profile-form h3:not(:first-of-type) {
	margin-top: 32px;
}

/* Avatar Selection */
.bb-avatar-section {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	margin-bottom: 16px;
}

.bb-current-avatar {
	flex-shrink: 0;
}

.bb-current-avatar img,
.bb-current-avatar .bb-custom-avatar {
	border-radius: 50%;
	border: 3px solid var(--bb-primary-bg);
}

.bb-avatar-options {
	flex: 1;
}

.bb-avatar-description {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--bb-text-secondary);
}

.bb-avatar-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bb-avatar-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
}

.bb-avatar-option input[type="radio"] {
	display: none;
}

.bb-avatar-preview {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	border: 2px solid transparent;
	transition: var(--bb-transition);
}

.bb-avatar-preview img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

.bb-avatar-option:hover .bb-avatar-preview {
	border-color: var(--bb-border);
	transform: scale(1.05);
}

.bb-avatar-option.selected .bb-avatar-preview,
.bb-avatar-option input:checked + .bb-avatar-preview {
	border-color: var(--bb-primary);
	box-shadow: 0 0 0 2px var(--bb-primary-bg);
}

.bb-avatar-label {
	font-size: 11px;
	color: var(--bb-text-muted);
	margin-top: 4px;
}

@media (max-width: 600px) {

	.bb-avatar-section {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.bb-avatar-grid {
		justify-content: center;
	}
}

.bb-password-section {
	margin-top: 40px;
}

.bb-password-section h4 {
	margin: 0 0 20px;
	font-size: 18px;
	font-weight: 600;
	color: var(--bb-text);
}

.bb-divider {
	border: none;
	border-top: 1px solid var(--bb-border);
	margin: 40px 0;
}

/* Form Styles - Theme-compliant inputs */
.bb-form-group {
	margin-bottom: 20px;
}

.bb-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--bb-text);
	font-size: var(--bb-font-size-base);
}

.bb-form-group label .required {
	color: var(--bb-danger);
}

.bb-form-group input,
.bb-form-group select,
.bb-form-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid var(--bb-border);
	border-radius: var(--bb-radius-sm);
	font-family: inherit;
	font-size: var(--bb-font-size-base);
	line-height: var(--bb-line-height);
	color: var(--bb-text);
	background: var(--bb-bg-card);
	transition: var(--bb-transition);
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}

.bb-form-group select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2350575e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
}

.bb-form-group input:focus,
.bb-form-group select:focus,
.bb-form-group textarea:focus {
	outline: none;
	border-color: var(--bb-primary);
	box-shadow: 0 0 0 3px var(--bb-primary-bg);
}

.bb-form-group input::placeholder,
.bb-form-group textarea::placeholder {
	color: var(--bb-text-muted);
}

/* Checkbox and Radio - Theme styling */
.bb-form-group input[type="checkbox"],
.bb-form-group input[type="radio"] {
	width: 18px;
	height: 18px;
	padding: 0;
	margin: 0;
	vertical-align: middle;
	accent-color: var(--bb-primary);
}

.bb-form-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.bb-form-actions {
	margin-top: 24px;
}

.bb-form-message {
	margin-top: 20px;
	padding: 14px 18px;
	border-radius: var(--bb-radius-sm);
	font-size: var(--bb-font-size-base);
	font-weight: 500;
}

.bb-form-message.success {
	background: var(--bb-success-bg);
	color: var(--bb-success);
	border: 1px solid color-mix(in srgb, var(--bb-success) 30%, transparent);
}

.bb-form-message.error {
	background: var(--bb-danger-bg);
	color: var(--bb-danger);
	border: 1px solid color-mix(in srgb, var(--bb-danger) 30%, transparent);
}

/* Auth Forms - Theme-compliant */
.bb-auth-form {
	max-width: 420px;
	margin: 48px auto;
	padding: 36px;
	background: var(--bb-bg-card);
	border-radius: var(--bb-radius-lg);
	box-shadow: var(--bb-shadow-lg);
}

.bb-auth-form h3 {
	margin: 0 0 28px;
	font-size: 26px;
	font-weight: 600;
	text-align: center;
	color: var(--bb-text);
}

.bb-auth-link,
.bb-auth-links {
	margin-top: 24px;
	text-align: center;
	font-size: var(--bb-font-size-base);
	color: var(--bb-text-muted);
}

.bb-auth-link a,
.bb-auth-links a {
	color: var(--bb-primary);
	text-decoration: none;
	font-weight: 500;
}

.bb-auth-link a:hover,
.bb-auth-links a:hover {
	text-decoration: underline;
}

.bb-separator {
	margin: 0 10px;
	color: var(--bb-border);
}

/* WordPress Login Form Override - Theme-compliant */
.bb-login-form #bb-login-form {
	margin: 0;
}

.bb-login-form #bb-login-form p {
	margin-bottom: 20px;
}

.bb-login-form #bb-login-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	font-size: var(--bb-font-size-base);
	color: var(--bb-text);
}

.bb-login-form #bb-login-form input[type="text"],
.bb-login-form #bb-login-form input[type="password"] {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid var(--bb-border);
	border-radius: var(--bb-radius-sm);
	font-family: inherit;
	font-size: var(--bb-font-size-base);
	color: var(--bb-text);
	background: var(--bb-bg-card);
	margin-bottom: 0;
	transition: var(--bb-transition);
	box-sizing: border-box;
}

.bb-login-form #bb-login-form input[type="text"]:focus,
.bb-login-form #bb-login-form input[type="password"]:focus {
	outline: none;
	border-color: var(--bb-primary);
	box-shadow: 0 0 0 3px var(--bb-primary-bg);
}

.bb-login-form #bb-login-form .login-remember {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bb-login-form #bb-login-form .login-remember input {
	width: auto;
	margin: 0;
	accent-color: var(--bb-primary);
}

.bb-login-form #bb-login-form input[type="submit"] {
	width: 100%;
	padding: 14px 24px;
	background: var(--bb-primary);
	color: #fff;
	border: none;
	border-radius: var(--bb-radius-sm);
	font-family: inherit;
	font-size: var(--bb-font-size-lg);
	font-weight: 500;
	cursor: pointer;
	transition: var(--bb-transition);
	-webkit-appearance: none;
	appearance: none;
}

.bb-login-form #bb-login-form input[type="submit"]:hover,
.bb-login-form #bb-login-form input[type="submit"]:focus {
	background: var(--bb-primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px color-mix(in srgb, var(--bb-primary) 35%, transparent);
	outline: none;
}

/* Error State - Theme colors */
.bb-error {
	padding: 24px;
	background: var(--bb-danger-bg);
	color: var(--bb-danger);
	border-radius: var(--bb-radius);
	text-align: center;
	border: 1px solid color-mix(in srgb, var(--bb-danger) 30%, transparent);
}

/* Loading State */
.bb-loading {
	position: relative;
	pointer-events: none;
}

.bb-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid transparent;
	border-top-color: var(--bb-primary);
	border-radius: 50%;
	animation: bb-spin 0.8s linear infinite;
}

@keyframes bb-spin {

	to {
		transform: rotate(360deg);
	}
}

/* My Bookings Standalone */
.bb-my-bookings {
	max-width: 100%;
	width: 100%;
}

/* Pagination */
.bb-pagination {
	margin-top: 24px;
	display: flex;
	justify-content: center;
}

.bb-pagination ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	justify-content: center;
}

.bb-pagination li {
	margin: 0;
}

.bb-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--bb-border, #e0e0e0);
	border-radius: 6px;
	background: var(--bb-card-bg, #fff);
	color: var(--bb-text, #1e1e1e);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s ease;
}

.bb-page-link:hover {
	background: var(--bb-primary, #2271b1);
	border-color: var(--bb-primary, #2271b1);
	color: #fff;
	text-decoration: none;
}

.bb-page-link.bb-current {
	background: var(--bb-primary, #2271b1);
	border-color: var(--bb-primary, #2271b1);
	color: #fff;
	cursor: default;
}

.bb-page-link.bb-prev,
.bb-page-link.bb-next {
	padding: 8px 16px;
}

@media (max-width: 480px) {

	.bb-pagination ul {
		gap: 2px;
	}

	.bb-page-link {
		min-width: 36px;
		height: 36px;
		padding: 6px 10px;
		font-size: 13px;
	}

	.bb-page-link.bb-prev,
	.bb-page-link.bb-next {
		padding: 6px 12px;
	}
}

/* Animations */
@keyframes bb-fadeIn {

	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.bb-booking-card {
	animation: bb-fadeIn 0.3s ease-out;
}

.bb-booking-card:nth-child(2) {
	animation-delay: 0.05s;
}

.bb-booking-card:nth-child(3) {
	animation-delay: 0.1s;
}

.bb-booking-card:nth-child(4) {
	animation-delay: 0.15s;
}

.bb-booking-card:nth-child(5) {
	animation-delay: 0.2s;
}

/* Responsive - Content adjustments at 768px */
@media (max-width: 768px) {

	.bb-bookings-filters {
		padding: 8px;
		gap: 6px;
	}

	.bb-filter-btn {
		padding: 8px 14px;
		font-size: 12px;
	}

	.bb-booking-card {
		grid-template-columns: auto 1fr;
		gap: 12px;
		padding: 16px;
	}

	.bb-booking-date {
		min-width: 56px;
		padding: 10px 8px;
	}

	.bb-booking-date .bb-date-day {
		font-size: 22px;
	}

	.bb-booking-date .bb-date-month {
		font-size: 10px;
	}

	.bb-booking-info {
		grid-column: span 1;
	}

	.bb-booking-meta {
		grid-column: 1 / -1;
	}

	.bb-booking-actions {
		grid-column: 1 / -1;
		justify-content: stretch;
	}

	.bb-booking-actions .bb-btn {
		flex: 1;
		justify-content: center;
	}

	.bb-form-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.bb-booking-detail-grid {
		grid-template-columns: 1fr;
	}

	.bb-profile-form,
	.bb-settings-form,
	.bb-booking-detail {
		padding: 20px;
	}

	.bb-auth-form {
		margin: 20px;
		padding: 24px;
	}

	.bb-auth-form h3 {
		font-size: 22px;
	}
}

@media (max-width: 480px) {

	.bb-bookings-filters {
		flex-wrap: wrap;
	}

	.bb-filter-btn {
		flex: 1 0 auto;
		min-width: fit-content;
	}

	.bb-booking-title {
		font-size: 15px;
	}

	.bb-booking-card {
		padding: 14px;
	}

	.bb-btn {
		padding: 10px 16px;
		font-size: 13px;
	}

	.bb-btn-small {
		padding: 8px 12px;
		font-size: 12px;
	}
}

/* Settings Tab */
.bb-settings-tab {
	max-width: 800px;
}

.bb-settings-section {
	background: var(--bb-bg-card);
	border-radius: var(--bb-radius);
	padding: 28px;
	margin-bottom: 24px;
	box-shadow: var(--bb-shadow);
}

.bb-settings-section h3 {
	margin: 0 0 24px;
	font-size: 18px;
	font-weight: 600;
	color: var(--bb-text);
	padding-bottom: 16px;
	border-bottom: 1px solid var(--bb-border);
}

.bb-settings-form .bb-form-actions {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--bb-border);
}

/* Danger Zone - Theme-compliant */
.bb-danger-zone {
	border: 1px solid color-mix(in srgb, var(--bb-danger) 30%, transparent);
	background: var(--bb-danger-bg);
}

.bb-danger-zone h3 {
	color: var(--bb-danger);
	border-color: color-mix(in srgb, var(--bb-danger) 30%, transparent);
}

.bb-danger-zone-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.bb-danger-zone-info h4 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--bb-text);
}

.bb-danger-zone-info p {
	margin: 0;
	font-size: 14px;
	color: var(--bb-text-secondary);
	line-height: 1.5;
}

/* Modal */
.bb-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.bb-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
}

.bb-modal-content {
	position: relative;
	background: var(--bb-bg-card);
	border-radius: var(--bb-radius-lg);
	box-shadow: var(--bb-shadow-lg);
	max-width: 480px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	animation: bb-modal-in 0.2s ease-out;
}

@keyframes bb-modal-in {

	from {
		opacity: 0;
		transform: scale(0.95) translateY(-10px);
	}

	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.bb-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	border-bottom: 1px solid var(--bb-border);
}

.bb-modal-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--bb-text);
}

.bb-modal-close {
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--bb-text-muted);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--bb-radius-sm);
	transition: var(--bb-transition);
}

.bb-modal-close:hover {
	background: var(--bb-bg);
	color: var(--bb-text);
}

.bb-modal-body {
	padding: 24px;
}

.bb-modal-body > p {
	margin: 0 0 20px;
	color: var(--bb-text-secondary);
	line-height: 1.6;
}

/* Delete Account Warning Box */
.bb-delete-warning {
	display: flex;
	gap: 16px;
	padding: 16px;
	background: var(--bb-danger-bg);
	border: 1px solid var(--bb-danger);
	border-radius: var(--bb-radius);
	margin-bottom: 20px;
}

.bb-delete-warning > .dashicons {
	flex-shrink: 0;
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: var(--bb-danger);
}

.bb-delete-warning strong {
	color: var(--bb-danger);
	display: block;
	margin-bottom: 8px;
}

.bb-delete-warning p {
	margin: 8px 0;
	font-size: 13px;
	color: var(--bb-text-secondary);
}

.bb-delete-warning ul {
	margin: 8px 0 8px 20px;
	padding: 0;
	font-size: 13px;
	color: var(--bb-text-secondary);
}

.bb-delete-warning li {
	margin-bottom: 4px;
}

.bb-modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding: 16px 24px;
	background: var(--bb-bg);
	border-top: 1px solid var(--bb-border);
	border-radius: 0 0 var(--bb-radius-lg) var(--bb-radius-lg);
}

body.bb-modal-open {
	overflow: hidden;
}

/* Responsive - Sidebar Layout */
@media (max-width: 900px) {

	.bb-dashboard-sidebar {
		display: block;
		height: 100vh;
		overflow-y: auto;
	}

	.bb-sidebar {
		position: fixed;
		top: 0;
		left: -100%;
		width: var(--bb-sidebar-width);
		height: 100vh;
		z-index: 10001;
		transition: left 0.3s ease;
		box-shadow: var(--bb-shadow-lg);
	}

	.bb-dashboard-sidebar.sidebar-open .bb-sidebar {
		left: 0;
	}

	.bb-sidebar-toggle {
		display: flex;
	}

	.bb-main-content {
		padding: 24px 20px;
		height: auto;
		min-height: 100vh;
	}

	.bb-danger-zone-content {
		flex-direction: column;
		align-items: flex-start;
	}

	.bb-danger-zone-content .bb-btn {
		width: 100%;
	}

	.bb-modal-content {
		margin: 20px;
	}

	/* Mobile overlay when sidebar open */
	.bb-dashboard-sidebar.sidebar-open::before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 10000;
	}
}

@media (max-width: 480px) {

	.bb-main-content {
		padding: 16px;
	}

	.bb-settings-section {
		padding: 20px;
	}

	.bb-modal-content {
		margin: 10px;
		max-height: calc(100vh - 20px);
	}

	.bb-modal-header,
	.bb-modal-body,
	.bb-modal-footer {
		padding: 16px;
	}

	.bb-modal-footer {
		flex-direction: column;
	}

	.bb-modal-footer .bb-btn {
		width: 100%;
	}
}

/* ========================================
   DOCUMENTS TAB STYLES
   ======================================== */

.bb-documents-tab {
	max-width: 900px;
}

/* Alert banner for incomplete documents */
.bb-documents-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 20px;
	background: var(--bb-warning-bg);
	border: 1px solid var(--bb-warning);
	border-radius: var(--bb-radius-lg);
	margin-bottom: 24px;
}

.bb-documents-alert svg {
	flex-shrink: 0;
	color: var(--bb-warning);
	margin-top: 2px;
}

.bb-documents-alert p {
	margin: 0;
	color: var(--bb-text);
	font-size: var(--bb-font-size-sm);
}

/* Documents sections */
.bb-documents-section {
	background: var(--bb-bg-card);
	border-radius: var(--bb-radius-lg);
	box-shadow: var(--bb-shadow-md);
	padding: 24px;
	margin-bottom: 24px;
}

.bb-documents-section h3 {
	margin: 0 0 20px;
	font-size: 18px;
	font-weight: 600;
	color: var(--bb-text);
}

/* Language selector */
.bb-language-selector {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--bb-border);
}

.bb-language-selector label {
	font-size: var(--bb-font-size-sm);
	color: var(--bb-text-secondary);
	margin: 0;
}

.bb-language-selector select {
	padding: 6px 30px 6px 12px;
	font-size: var(--bb-font-size-sm);
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius);
	background: var(--bb-bg-card);
	cursor: pointer;
}

/* Documents list */
.bb-documents-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Document card */
.bb-document-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: var(--bb-bg);
	border-radius: var(--bb-radius);
	border: 1px solid transparent;
	transition: var(--bb-transition);
}

.bb-document-card:hover {
	border-color: var(--bb-border);
}

.bb-document-card.bb-document-signed {
	background: var(--bb-success-bg);
}

.bb-document-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bb-bg-card);
	border-radius: var(--bb-radius);
}

.bb-document-icon svg {
	color: var(--bb-text-secondary);
}

.bb-document-card.bb-document-signed .bb-document-icon svg {
	color: var(--bb-success);
}

.bb-document-info {
	flex: 1;
	min-width: 0;
}

.bb-document-info h4 {
	margin: 0 0 4px;
	font-size: var(--bb-font-size-base);
	font-weight: 600;
	color: var(--bb-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bb-document-status {
	display: inline-block;
	font-size: 12px;
	font-weight: 500;
	padding: 2px 8px;
	border-radius: 12px;
}

.bb-document-status.bb-signed {
	background: var(--bb-success-bg);
	color: var(--bb-success);
}

.bb-document-status.bb-required {
	background: var(--bb-danger-bg);
	color: var(--bb-danger);
}

.bb-document-status.bb-optional {
	background: var(--bb-bg);
	color: var(--bb-text-muted);
}

.bb-document-actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

/* ID Upload Section */
.bb-id-upload-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.bb-id-status {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-radius: var(--bb-radius);
}

.bb-id-status.bb-id-status-pending {
	background: var(--bb-warning-bg);
}

.bb-id-status.bb-id-status-verified {
	background: var(--bb-success-bg);
}

.bb-id-status.bb-id-status-rejected {
	background: var(--bb-danger-bg);
}

.bb-id-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bb-bg-card);
	border-radius: 50%;
}

.bb-id-status.bb-id-status-pending .bb-id-icon svg {
	color: var(--bb-warning);
}

.bb-id-status.bb-id-status-verified .bb-id-icon svg {
	color: var(--bb-success);
}

.bb-id-status.bb-id-status-rejected .bb-id-icon svg {
	color: var(--bb-danger);
}

.bb-id-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bb-id-info strong {
	font-size: var(--bb-font-size-base);
	color: var(--bb-text);
}

.bb-id-info span {
	font-size: var(--bb-font-size-sm);
	color: var(--bb-text-secondary);
}

.bb-id-rejected-note {
	padding: 12px 16px;
	background: var(--bb-danger-bg);
	border-radius: var(--bb-radius);
	font-size: var(--bb-font-size-sm);
	color: var(--bb-danger);
	margin: 0;
}

/* Upload Dropzone */
.bb-upload-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
	border: 2px dashed var(--bb-border);
	border-radius: var(--bb-radius-lg);
	background: var(--bb-bg);
	cursor: pointer;
	transition: var(--bb-transition);
	text-align: center;
	gap: 8px;
}

.bb-upload-dropzone:hover,
.bb-upload-dropzone.dragover {
	border-color: var(--bb-primary);
	background: var(--bb-primary-bg);
}

.bb-upload-dropzone svg {
	color: var(--bb-text-muted);
	margin-bottom: 8px;
}

.bb-upload-dropzone p {
	margin: 0;
	font-size: var(--bb-font-size-base);
	color: var(--bb-text);
}

.bb-upload-or {
	font-size: var(--bb-font-size-sm);
	color: var(--bb-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.bb-file-input {
	margin: 8px 0;
}

.bb-upload-hint {
	font-size: 12px;
	color: var(--bb-text-muted);
	margin-top: 4px;
}

/* Upload Preview */
.bb-upload-preview {
	position: relative;
	display: inline-block;
	margin-top: 16px;
}

.bb-upload-preview img {
	max-width: 200px;
	max-height: 150px;
	border-radius: var(--bb-radius);
	border: 1px solid var(--bb-border);
}

.bb-remove-file {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--bb-danger);
	color: white;
	border: none;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bb-remove-file:hover {
	background: var(--bb-danger-hover);
}

/* Signature Pad */
.bb-signature-section {
	margin-bottom: 24px;
}

.bb-signature-section > label {
	display: block;
	margin-bottom: 12px;
	font-weight: 500;
	color: var(--bb-text);
}

.bb-signature-pad-wrapper {
	position: relative;
	border: 1px solid var(--bb-border);
	border-radius: var(--bb-radius);
	background: var(--bb-bg-card);
	overflow: hidden;
}

#bb-signature-pad {
	display: block;
	width: 100%;
	height: 200px;
	touch-action: none;
}

#bb-clear-signature {
	position: absolute;
	top: 8px;
	right: 8px;
}

/* Document content in modal */
.bb-document-content {
	font-size: var(--bb-font-size-base);
	line-height: 1.7;
	color: var(--bb-text);
}

.bb-document-content h1,
.bb-document-content h2,
.bb-document-content h3,
.bb-document-content h4,
.bb-document-content h5,
.bb-document-content h6 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	color: var(--bb-text);
}

.bb-document-content p {
	margin-bottom: 1em;
}

.bb-document-content ul,
.bb-document-content ol {
	margin-bottom: 1em;
	padding-left: 1.5em;
}

.bb-document-content li {
	margin-bottom: 0.5em;
}

.bb-document-scroll {
	max-height: 300px;
	overflow-y: auto;
	padding: 16px;
	background: var(--bb-bg);
	border-radius: var(--bb-radius);
	margin-bottom: 20px;
}

/* Large modal for documents */
.bb-modal-large .bb-modal-content {
	max-width: 700px;
}

/* No documents message */
.bb-no-documents {
	text-align: center;
	padding: 32px;
	color: var(--bb-text-muted);
}

/* Checkbox label styling */
.bb-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: var(--bb-font-size-base);
}

.bb-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

/* Checkbox group (input + label side by side) */
.bb-checkbox-group {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.bb-checkbox-group input[type="checkbox"] {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	cursor: pointer;
	accent-color: var(--bb-primary);
	-webkit-appearance: checkbox;
	appearance: checkbox;
	padding: 0;
}

.bb-checkbox-group label {
	cursor: pointer;
	font-size: var(--bb-font-size-base);
	line-height: 1.4;
	color: var(--bb-text);
}

/* Navigation badge for incomplete documents */
.bb-nav-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 6px;
	font-size: 11px;
	font-weight: 600;
	background: var(--bb-danger);
	color: white;
	border-radius: 9px;
	margin-left: auto;
}

/* PDF Viewer in Document Modal */
.bb-pdf-viewer {
	margin: 0;
}

.bb-pdf-viewer iframe {
	border-radius: var(--bb-radius);
	background: #f5f5f5;
}

.bb-pdf-download {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--bb-border);
	text-align: center;
}

.bb-pdf-download a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bb-pdf-download a::before {
	content: "\f316";
	font-family: dashicons;
	font-size: 16px;
}

/* Document tab responsive */
@media (max-width: 768px) {

	.bb-document-card {
		flex-wrap: wrap;
	}

	.bb-document-actions {
		width: 100%;
		margin-top: 12px;
		justify-content: flex-end;
	}

	.bb-language-selector {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.bb-modal-large .bb-modal-content {
		max-width: none;
		margin: 16px;
	}

	#bb-signature-pad {
		height: 150px;
	}
}

@media (max-width: 480px) {

	.bb-documents-section {
		padding: 16px;
	}

	.bb-document-card {
		padding: 12px;
	}

	.bb-document-icon {
		width: 40px;
		height: 40px;
	}

	.bb-document-actions {
		flex-direction: column;
	}

	.bb-document-actions .bb-btn {
		width: 100%;
	}

	.bb-upload-dropzone {
		padding: 32px 16px;
	}
}

/* ============================================
   HOME TAB - ANIMATED DASHBOARD
   ============================================ */

/* Animations Keyframes */
@keyframes bb-fade-in {

	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes bb-slide-up {

	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bb-float {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-20px) rotate(5deg);
	}
}

@keyframes bb-pulse {

	0%,
	100% {
		transform: scale(1);
		opacity: 0.8;
	}

	50% {
		transform: scale(1.1);
		opacity: 1;
	}
}

@keyframes bb-count-up {

	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bb-shimmer {

	0% {
		background-position: -200% 0;
	}

	100% {
		background-position: 200% 0;
	}
}

@keyframes bb-bounce {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-5px);
	}
}

@keyframes bb-wave {

	0% {
		transform: translateX(0) translateZ(0) scaleY(1);
	}

	50% {
		transform: translateX(-25%) translateZ(0) scaleY(0.6);
	}

	100% {
		transform: translateX(-50%) translateZ(0) scaleY(1);
	}
}

@keyframes bb-wave-slow {

	0% {
		transform: translateX(0) translateZ(0) scaleY(1);
	}

	50% {
		transform: translateX(-25%) translateZ(0) scaleY(0.8);
	}

	100% {
		transform: translateX(-50%) translateZ(0) scaleY(1);
	}
}

/* Animation Classes */
.bb-animate-fade-in {
	animation: bb-fade-in 0.6s ease-out forwards;
}

.bb-animate-slide-up {
	opacity: 0;
	animation: bb-slide-up 0.6s ease-out forwards;
	animation-delay: var(--delay, 0s);
}

/* Home Tab Container */
.bb-home-tab {
	padding: 0;
	max-width: none;
	margin: 0;
}

/* Hero Section - Full Width with Wave */
.bb-home-hero {
	position: relative;
	background: linear-gradient(135deg, var(--bb-primary) 0%, #005a87 100%);
	border-radius: 0;
	padding: 48px 32px 80px 32px;
	margin: 0;
	overflow: hidden;
	color: #fff;
}

.bb-hero-content {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto;
}

.bb-greeting-icon {
	display: inline-block;
	font-size: 48px;
	margin-bottom: 16px;
	animation: bb-bounce 2s ease-in-out infinite;
}

.bb-hero-title {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 8px 0;
	color: #fff;
}

.bb-hero-name {
	background: linear-gradient(90deg, #fff 0%, #e0f4ff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.bb-hero-subtitle {
	font-size: 16px;
	margin: 0;
	opacity: 0.9;
	color: rgba(255, 255, 255, 0.9);
}

/* Floating Decorations */
.bb-hero-decoration {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 50%;
	pointer-events: none;
}

.bb-floating-shape {
	position: absolute;
	border-radius: 50%;
	opacity: 0.1;
	background: #fff;
}

.bb-shape-1 {
	width: 150px;
	height: 150px;
	top: -30px;
	right: 10%;
	animation: bb-float 6s ease-in-out infinite;
}

.bb-shape-2 {
	width: 80px;
	height: 80px;
	bottom: 40%;
	right: 25%;
	animation: bb-float 8s ease-in-out infinite;
	animation-delay: -2s;
}

.bb-shape-3 {
	width: 50px;
	height: 50px;
	top: 40%;
	right: 5%;
	animation: bb-float 5s ease-in-out infinite;
	animation-delay: -4s;
}

/* Wave Effect */
.bb-wave-container {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60px;
	overflow: hidden;
	z-index: 1;
}

.bb-wave {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 200%;
	height: 100%;
	background-repeat: repeat-x;
	background-position: 0 bottom;
	transform-origin: center bottom;
}

.bb-wave-back {
	background: var(--bb-bg);
	opacity: 0.5;
	animation: bb-wave-slow 8s linear infinite;
	height: 50px;
	bottom: 5px;
}

.bb-wave-front {
	background: var(--bb-bg);
	animation: bb-wave 6s linear infinite;
	height: 60px;
}

/* SVG Wave Alternative */
.bb-wave-svg {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 60px;
	z-index: 1;
}

.bb-wave-svg svg {
	width: 100%;
	height: 100%;
}

.bb-wave-svg path {
	fill: var(--bb-bg);
}

/* Home Content Area */
.bb-home-content {
	padding: 32px;
	max-width: 1200px;
	margin: 0 auto;
}

/* Stats Grid */
.bb-stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 24px;
}

.bb-stat-card {
	background: var(--bb-bg-card);
	border-radius: var(--bb-radius-lg);
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	box-shadow: var(--bb-shadow);
	border: 1px solid var(--bb-border);
	transition: all 0.3s ease;
}

.bb-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--bb-shadow-md);
}

.bb-stat-icon {
	width: 48px;
	height: 48px;
	border-radius: var(--bb-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.bb-stat-icon svg {
	width: 22px;
	height: 22px;
}

.bb-stat-upcoming {
	background: var(--bb-primary-bg);
	color: var(--bb-primary);
}

.bb-stat-total {
	background: var(--bb-success-bg);
	color: var(--bb-success);
}

.bb-stat-warning {
	background: var(--bb-warning-bg);
	color: var(--bb-warning);
}

.bb-stat-success {
	background: var(--bb-success-bg);
	color: var(--bb-success);
}

.bb-stat-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bb-stat-number {
	font-size: 28px;
	font-weight: 700;
	color: var(--bb-text);
	line-height: 1;
	animation: bb-count-up 0.5s ease-out forwards;
}

.bb-stat-status {
	font-size: 15px;
	font-weight: 600;
}

.bb-stat-status.bb-status-complete {
	color: var(--bb-success);
}

.bb-stat-status.bb-status-pending {
	color: var(--bb-warning);
}

.bb-stat-label {
	font-size: var(--bb-font-size-sm);
	color: var(--bb-text-secondary);
}

/* Home Grid */
.bb-home-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

/* Card Title */
.bb-card-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: var(--bb-font-size-lg);
	font-weight: 600;
	color: var(--bb-text);
	margin: 0 0 20px 0;
}

.bb-card-title svg {
	color: var(--bb-primary);
}

/* Next Booking Card */
.bb-next-booking-card {
	background: var(--bb-bg-card);
	border-radius: var(--bb-radius-lg);
	padding: 20px;
	box-shadow: var(--bb-shadow);
	border: 1px solid var(--bb-border);
}

.bb-next-booking-content {
	display: flex;
	gap: 20px;
	align-items: stretch;
}

.bb-next-booking-date {
	background: linear-gradient(135deg, var(--bb-primary) 0%, #005a87 100%);
	border-radius: var(--bb-radius);
	padding: 16px;
	color: #fff;
	text-align: center;
	min-width: 90px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bb-big-day {
	display: block;
	font-size: 36px;
	font-weight: 700;
	line-height: 1;
}

.bb-month-year {
	display: block;
	font-size: var(--bb-font-size-sm);
	opacity: 0.9;
	margin-top: 4px;
}

.bb-countdown {
	display: block;
	font-size: 11px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-weight: 500;
}

.bb-next-booking-details {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bb-next-booking-details h4 {
	margin: 0 0 6px 0;
	font-size: var(--bb-font-size-lg);
	font-weight: 600;
	color: var(--bb-text);
}

.bb-time-slot {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--bb-text-secondary);
	font-size: var(--bb-font-size-sm);
	margin: 0 0 12px 0;
}

.bb-time-slot svg {
	color: var(--bb-primary);
}

/* No Upcoming Bookings */
.bb-no-upcoming {
	text-align: center;
	padding: 24px 16px;
}

.bb-empty-icon {
	color: var(--bb-text-muted);
	margin-bottom: 12px;
	opacity: 0.5;
}

.bb-no-upcoming p {
	color: var(--bb-text-secondary);
	margin: 0 0 16px 0;
	font-size: var(--bb-font-size-base);
}

/* Quick Actions */
.bb-quick-actions {
	background: var(--bb-bg-card);
	border-radius: var(--bb-radius-lg);
	padding: 20px;
	box-shadow: var(--bb-shadow);
	border: 1px solid var(--bb-border);
}

.bb-actions-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bb-action-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border-radius: var(--bb-radius);
	background: var(--bb-bg);
	color: var(--bb-text);
	text-decoration: none;
	transition: var(--bb-transition);
	border: 1px solid transparent;
}

.bb-action-item:hover {
	background: var(--bb-bg-card);
	border-color: var(--bb-primary);
	transform: translateX(4px);
	box-shadow: var(--bb-shadow-md);
}

.bb-action-icon {
	width: 36px;
	height: 36px;
	border-radius: var(--bb-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.bb-action-icon svg {
	width: 18px;
	height: 18px;
}

.bb-action-book .bb-action-icon {
	background: var(--bb-primary-bg);
	color: var(--bb-primary);
}

.bb-action-view .bb-action-icon {
	background: var(--bb-success-bg);
	color: var(--bb-success);
}

.bb-action-docs .bb-action-icon {
	background: var(--bb-warning-bg);
	color: var(--bb-warning);
}

.bb-action-profile .bb-action-icon {
	background: #e8eaf6;
	color: #5c6bc0;
}

.bb-action-text {
	flex: 1;
	font-weight: 500;
	font-size: var(--bb-font-size-base);
}

.bb-action-arrow {
	color: var(--bb-text-muted);
	transition: transform 0.25s ease;
}

.bb-action-item:hover .bb-action-arrow {
	transform: translateX(4px);
	color: var(--bb-primary);
}

.bb-action-highlight {
	background: var(--bb-warning-bg);
	border: 1px solid rgba(219, 166, 23, 0.3);
}

.bb-action-highlight:hover {
	background: var(--bb-warning-bg);
	border-color: var(--bb-warning);
}

.bb-action-badge {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--bb-warning);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	animation: bb-pulse 2s ease-in-out infinite;
}

/* Responsive - Home Tab */
@media (max-width: 992px) {

	.bb-home-hero {
		padding: 40px 24px 70px 24px;
	}

	.bb-home-content {
		padding: 24px;
	}

	.bb-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.bb-stats-grid .bb-stat-card:last-child {
		grid-column: span 2;
	}

	.bb-home-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {

	.bb-home-hero {
		padding: 32px 20px 60px 20px;
	}

	.bb-home-content {
		padding: 20px;
	}

	.bb-greeting-icon {
		font-size: 36px;
	}

	.bb-hero-title {
		font-size: 24px;
	}

	.bb-hero-decoration {
		display: none;
	}

	.bb-wave-container,
	.bb-wave-svg {
		height: 40px;
	}

	.bb-stats-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.bb-stats-grid .bb-stat-card:last-child {
		grid-column: span 1;
	}

	.bb-stat-card {
		padding: 16px;
	}

	.bb-stat-number {
		font-size: 24px;
	}

	.bb-next-booking-content {
		flex-direction: column;
	}

	.bb-next-booking-date {
		flex-direction: row;
		justify-content: space-around;
		min-width: auto;
		gap: 16px;
	}

	.bb-countdown {
		margin-top: 0;
		padding-top: 0;
		padding-left: 16px;
		border-top: none;
		border-left: 1px solid rgba(255, 255, 255, 0.2);
	}

	.bb-home-grid {
		gap: 16px;
	}
}

@media (max-width: 480px) {

	.bb-home-hero {
		padding: 24px 16px 50px 16px;
	}

	.bb-home-content {
		padding: 16px;
	}

	.bb-hero-title {
		font-size: 20px;
	}

	.bb-hero-subtitle {
		font-size: var(--bb-font-size-sm);
	}

	.bb-stat-icon {
		width: 40px;
		height: 40px;
	}

	.bb-stat-icon svg {
		width: 18px;
		height: 18px;
	}

	.bb-action-item {
		padding: 12px;
	}

	.bb-action-icon {
		width: 32px;
		height: 32px;
	}

	.bb-next-booking-card,
	.bb-quick-actions {
		padding: 16px;
	}
}
