/**
 * Public Frontend Styles for Plus Events
 *
 * @package PlusEvents
 * @author Disruptive Brains LLC
 * @since 1.0.0
 */

/* Booking Form Container - New Layout */
.pe-booking-form {
	max-width: 1000px;
	margin: 20px auto;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: var(--pe-border-radius);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

/* Main Layout: Sidebar + Content */
.pe-form-layout {
	display: flex;
	min-height: 0;
}

/* Sidebar - Steps Progress (3/12) */
.pe-steps-sidebar {
	width: 25%;
	background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
	border-right: 1px solid #e5e5e5;
	padding: 20px 15px;
}

.pe-steps-title {
	font-size: 14px;
	font-weight: 600;
	color: #6c757d;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e5e5e5;
}

.pe-steps-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pe-step-item {
	display: flex;
	align-items: center;
	padding: 15px 12px;
	margin-bottom: 8px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.pe-step-item:hover {
	background: var(--pe-primary-color-08);
}

.pe-step-item.active {
	background: var(--pe-primary-color-15);
}

.pe-step-item.completed {
	background: var(--pe-success-color-08);
}

/* Step Number/Icon */
.pe-step-number {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 14px;
	margin-right: 15px;
	transition: all 0.3s ease;
	flex-shrink: 0;
	background: #e9ecef;
	color: #6c757d;
	border: 2px solid #e9ecef;
}

.pe-step-item.active .pe-step-number {
	background: var(--pe-primary-color);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 4px 12px var(--pe-primary-color);
}

.pe-step-item.completed .pe-step-number {
	background: var(--pe-success-color);
	color: #fff;
	border-color: transparent;
}

/* Check Icon */
.pe-step-check {
	display: none;
}

.pe-step-item.completed .pe-step-number .pe-step-num {
	display: none;
}

.pe-step-item.completed .pe-step-number .pe-step-check {
	display: block;
}

.pe-step-check svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Step Info */
.pe-step-info {
	flex: 1;
}

.pe-step-name {
	font-weight: 500;
	font-size: 15px;
	color: #495057;
	margin-bottom: 2px;
}

.pe-step-item.active .pe-step-name {
	color: var(--pe-primary-color);
	font-weight: 600;
}

.pe-step-item.completed .pe-step-name {
	color: var(--pe-success-color);
}

.pe-step-desc {
	font-size: 12px;
	color: #868e96;
}

/* Content Area (9/12) */
.pe-steps-content {
	width: 75%;
	padding: 24px 30px;
	display: flex;
	flex-direction: column;
}

/* Step Panel */
.pe-step-panel {
	display: none;
	flex: 1;
}

.pe-step-panel.active {
	display: flex;
	flex-direction: column;
}

.pe-step-panel-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 2px;
}

.pe-step-panel-subtitle {
	font-size: 12px;
	color: #6c757d;
	margin-bottom: 12px;
}

/* Calendar Styles */
.pe-calendar-container {
	flex: 1;
}

.pe-calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.pe-calendar-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

.pe-calendar-nav {
	display: flex;
	gap: 10px;
}

.pe-calendar-nav button {
	width: 40px;
	height: 40px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}

.pe-calendar-nav button:hover {
	background: #f8f9fa;
	border-color: var(--pe-primary-color);
	color: var(--pe-primary-color);
}

.pe-calendar-nav button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.pe-calendar-nav button svg {
	width: 20px;
	height: 20px;
}

/* Calendar Grid */
.pe-calendar {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.pe-calendar th {
	padding: 12px 8px;
	font-size: 12px;
	font-weight: 600;
	color: #6c757d;
	text-transform: uppercase;
	text-align: center;
}

.pe-calendar td {
	padding: 2px;
	text-align: center;
}

.pe-calendar-day {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s;
	margin: 1px auto;
	border: 2px solid transparent;
	color: var(--pe-text-color);
}

.pe-calendar-day:hover:not(.disabled):not(.selected) {
	background: #f0f0ff;
	border-color: var(--pe-primary-color);
}

.pe-calendar-day.today {
	background: #e9ecef;
	font-weight: 600;
}

.pe-calendar-day.selected {
	background: var(--pe-primary-color);
	color: #fff;
	font-weight: 600;
	box-shadow: 0 4px 12px var(--pe-primary-color);
}

.pe-calendar-day.disabled {
	opacity: 0.3;
	cursor: not-allowed;
	background: transparent;
}

.pe-calendar-day.other-month:not(.disabled) {
	color: #adb5bd;
}

/* Time Selection */
.pe-time-selection {
	margin-top: 25px;
}

.pe-time-selection-title {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}

.pe-time-slots {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
	max-height: 250px;
	overflow-y: auto;
	padding-right: 5px;
}

.pe-time-slot {
	padding: 10px 8px;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s;
	font-size: 13px;
}

.pe-time-slot:hover:not(.disabled):not(.selected) {
	border-color: var(--pe-primary-color);
	background: #f8f9ff;
}

.pe-time-slot.selected {
	background: var(--pe-primary-color);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 4px 10px var(--pe-primary-color-25);
	z-index: 2;
}

.pe-time-slot.in-range {
	background: var(--pe-primary-color-15);
	border-color: var(--pe-primary-color-25);
	border-radius: 0;
}

.pe-time-slot.start {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.pe-time-slot.end {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.pe-time-slot.disabled {
	background: #f5f5f5;
	color: #ccc;
	cursor: not-allowed;
	border-color: #eee;
}

/* Time Slider Premium Styling */
.pe-time-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
}

.pe-total-hours-preview {
    text-align: center;
    background: var(--pe-primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(var(--pe-primary-rgb, 0, 123, 255), 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.pe-total-hours-preview:hover {
    transform: translateY(-5px);
}

.pe-total-hours-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.pe-total-hours-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.9;
}

.pe-time-slider-container {
    width: 100%;
    max-width: 800px; /* Increased width */
    padding: 0 40px 60px; /* More bottom padding for pips */
}

/* noUiSlider Customization */
.noUi-target {
    background: #f1f5f9;
    border-radius: 10px;
    border: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    height: 14px;
}

.noUi-connect {
    background: var(--pe-primary-color);
}

.noUi-horizontal .noUi-handle {
    width: 32px;
    height: 32px;
    right: -16px;
    top: -10px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--pe-primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.noUi-handle:before, .noUi-handle:after {
    display: none;
}

.noUi-handle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Pips (Labels) Styling */
.noUi-pips-horizontal {
    padding: 15px 0;
    height: auto;
}

.noUi-value-horizontal {
    font-size: 15px; /* Larger */
    font-weight: 700; /* Bolder */
    color: #1e293b; /* Darker (Slate 800) */
    transform: translate(-50%, 15px);
}

.noUi-marker-horizontal.noUi-marker {
    background: #cbd5e1;
    height: 10px;
    width: 2px;
}

.noUi-marker-horizontal.noUi-marker-large {
    height: 15px;
    background: #64748b;
}

/* Interactive Summary Small */
.pe-selection-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.pe-selection-label {
    color: #64748b;
    font-weight: 600;
    margin-right: 8px;
}

.pe-time-range-display {
    color: var(--pe-primary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .pe-time-selection {
        padding: 10px 0;
        gap: 20px;
    }
    
    .pe-total-hours-preview {
        padding: 10px 20px;
    }
    
    .pe-total-hours-value {
        font-size: 24px;
    }
}

.pe-selection-summary-text {
	font-size: 13px;
	font-weight: 500;
	color: #444;
}

.pe-selection-summary-value {
	color: var(--pe-primary-color);
	font-weight: 700;
	font-size: 13px;
}

@keyframes pe-fade-in {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Duration Selection */
.pe-duration-selection {
	margin-top: 25px;
}

.pe-duration-options {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.pe-duration-option {
	flex: 1;
	min-width: 120px;
	padding: 20px;
	border: 2px solid #e5e5e5;
	border-radius: 12px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s;
}

.pe-duration-option:hover:not(.selected) {
	border-color: var(--pe-primary-color);
}

.pe-duration-option.selected {
	border-color: var(--pe-primary-color);
	background: linear-gradient(135deg, var(--pe-primary-color-15) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.pe-duration-value {
	font-size: 24px;
	font-weight: 700;
	color: var(--pe-primary-color);
}

.pe-duration-label {
	font-size: 13px;
	color: #6c757d;
	margin-top: 5px;
}

/* Participants Selection */
.pe-participants-selection {
	margin-top: 25px;
}

.pe-participants-input {
	display: flex;
	align-items: center;
	gap: 15px;
}

.pe-participants-btn {
	width: 44px;
	height: 44px;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fff;
	font-size: 20px;
	cursor: pointer;
	transition: all 0.2s;
}

.pe-participants-btn:hover {
	background: var(--pe-primary-color);
	color: #fff;
	border-color: var(--pe-primary-color);
}

.pe-participants-value {
	font-size: 24px;
	font-weight: 600;
	min-width: 50px;
	text-align: center;
}

/* Form Fields */
.pe-form-section {
	margin-bottom: 24px;
}

.pe-form-section.pe-form-row {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
}

.pe-form-section.pe-form-row .pe-field-half {
	flex: 1 1;
	max-width: 50%;
	min-width: 0;
}

.pe-form-section-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
	padding-bottom: 5px;
	border-bottom: 1px solid #e5e5e5;
}

.pe-field {
	margin-bottom: 8px;
}

.pe-field label {
	display: block;
	margin-bottom: 4px;
	font-weight: 500;
	color: #444;
	font-size: 13px;
}

.pe-field label .pe-required {
	color: #e74c3c;
}

.pe-field-half {
	display: inline-block;
	width: 48%;
	margin-right: 4%;
}

.pe-field-half:last-child {
	margin-right: 0;
}

/* Inputs */
.pe-input,
.pe-select,
.pe-textarea {
	width: 100%;
	padding: 0 12px;
	line-height: 2em;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.3s, box-shadow 0.3s;
	height: auto;
	min-height: unset;
}

.pe-input:focus,
.pe-select:focus,
.pe-textarea:focus {
	outline: none;
	border-color: var(--pe-primary-color);
	box-shadow: 0 0 0 4px var(--pe-primary-color-15);
}

.pe-input::placeholder,
.pe-textarea::placeholder {
	color: #adb5bd;
}

.pe-textarea {
	resize: vertical;
	min-height: 100px;
}

/* Field with icon */
.pe-field-icon {
	position: relative;
}

.pe-field-icon .pe-input {
	padding-left: 45px;
}

.pe-field-icon .pe-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #adb5bd;
}

/* Error state for fields */
.pe-field.error .pe-input,
.pe-field.error .pe-select,
.pe-field.error .pe-textarea {
	border-color: #e74c3c;
}

.pe-field-error {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #e74c3c;
}

/* Summary Box */
.pe-summary-box {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 15px;
	margin-bottom: 20px;
}

.pe-summary-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #e9ecef;
}

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

.pe-summary-label {
	color: #6c757d;
	font-size: 14px;
}

.pe-summary-value {
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

/* Price Display */
.pe-price-display {
	margin: 25px 0;
	padding: 25px;
	background: var(--pe-primary-color);
	border-radius: 12px;
	text-align: center;
}

.pe-price-label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 8px;
}

.pe-price-value {
	font-size: 36px;
	font-weight: 700;
	color: #fff;
}

/* Navigation Buttons */
.pe-step-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #e5e5e5;
}

.pe-btn-next, .pe-btn-submit {
	background: var(--pe-primary-color);
	color: #fff;
	border: none;
	box-shadow: 0 4px 12px var(--pe-primary-color-25);
}

.pe-btn-next:hover, .pe-btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 15px var(--pe-primary-color-40);
}

.pe-btn-prev {
	background: #f1f1f1;
	color: #666;
	border: 1px solid #ddd;
}

.pe-btn {
	padding: var(--pe-button-padding);
	border-radius: var(--pe-border-radius);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: none;
}

.pe-btn-secondary {
	background: #f8f9fa;
	color: #495057;
	border: 1px solid #ddd;
}

.pe-btn-secondary:hover {
	background: #e9ecef;
}

.pe-btn-primary {
	background: var(--pe-primary-color);
	color: #fff;
}

.pe-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.pe-btn-primary:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.pe-btn svg {
	width: 18px;
	height: 18px;
}

/* Messages */
.pe-messages {
	margin-top: 20px;
}

.pe-message {
	padding: 15px 20px;
	border-radius: 8px;
	margin-bottom: 10px;
	font-size: 14px;
}

.pe-message-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.pe-message-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.pe-message-info {
	background: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb;
}

/* Loading state */
.pe-loading {
	position: relative;
	pointer-events: none;
}

.pe-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid #fff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: pe-spin 0.8s linear infinite;
}

@keyframes pe-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Success Animation */
.pe-success-animation {
	text-align: center;
	padding: 40px;
}

.pe-success-icon {
	width: 80px;
	height: 80px;
	background: var(--pe-success-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
	animation: pe-success-bounce 0.5s ease;
}

@keyframes pe-success-bounce {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

.pe-success-icon svg {
	width: 40px;
	height: 40px;
	fill: #fff;
}

.pe-success-title {
	font-size: 24px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
}

.pe-success-message {
	color: #6c757d;
	font-size: 15px;
}

/* Error display */
.pe-error {
	padding: 15px 20px;
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	border-radius: 8px;
}

/* Info text */
.pe-date-info,
.pe-participants-info {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #6c757d;
}

/* Tier Selection Cards */
.pe-tier-selection {
	margin-top: 25px;
}

.pe-tier-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	max-width: 100%;
}

@media (max-width: 991px) {
	.pe-tier-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 767px) {
	.pe-tier-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

.pe-tier-card {
	padding: 12px 8px;
	border: 2px solid #e5e5e5;
	border-radius: 10px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	background: #fff;
}

.pe-tier-card:hover {
	border-color: var(--pe-primary-color);
	transform: translateY(-3px);
	box-shadow: 0 8px 25px var(--pe-primary-color-15);
}

.pe-tier-card.selected {
	border-color: var(--pe-success-color);
	background: linear-gradient(135deg, var(--pe-success-color-08) 0%, var(--pe-success-color-08) 100%);
	box-shadow: 0 8px 25px var(--pe-success-color-20);
}

.pe-tier-icon {
	display: none;
}

.pe-tier-range {
	font-size: 16px;
	font-weight: 700;
	color: #333;
	margin-bottom: 2px;
}

.pe-tier-card.selected .pe-tier-range {
	color: var(--pe-success-color);
}

.pe-tier-label {
	font-size: 12px;
	color: #6c757d;
	margin-bottom: 10px;
	text-transform: lowercase;
}

.pe-tier-price {
	font-size: 11px;
	font-weight: 600;
	color: var(--pe-primary-color);
	padding: 3px 8px;
	background: var(--pe-primary-color-15);
	border-radius: 12px;
	display: inline-block;
}

.pe-tier-card.selected .pe-tier-price {
	background: var(--pe-success-color-15);
	color: var(--pe-success-color);
}

/* Coworking Monthly Validity Display */
.pe-validity-info {
	margin-top: 20px;
	padding: 20px;
	background: linear-gradient(135deg, var(--pe-primary-color-08) 0%, rgba(118, 75, 162, 0.08) 100%);
	border-radius: 12px;
	border: 1px solid rgba(102, 126, 234, 0.2);
}

.pe-validity-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--pe-primary-color);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.pe-validity-title svg {
	width: 18px;
	height: 18px;
}

.pe-validity-dates {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pe-validity-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.pe-validity-label {
	color: #6c757d;
	min-width: 80px;
}

.pe-validity-value {
	font-weight: 600;
	color: #333;
}

/* Meeting Room Selection */
.pe-meeting-selection {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 30px;
}

.pe-meeting-card {
	max-width: 320px;
	padding: 40px 30px;
	border: 2px solid var(--pe-primary-color);
	border-radius: 16px;
	text-align: center;
	background: linear-gradient(135deg, var(--pe-primary-color-08) 0%, rgba(118, 75, 162, 0.05) 100%);
	transition: all 0.3s ease;
}

.pe-meeting-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.pe-meeting-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 20px;
	color: var(--pe-primary-color);
}

.pe-meeting-icon svg {
	width: 100%;
	height: 100%;
}

.pe-meeting-title {
	font-size: 22px;
	font-weight: 700;
	color: #333;
	margin-bottom: 8px;
}

.pe-meeting-capacity {
	font-size: 16px;
	color: var(--pe-success-color);
	font-weight: 600;
	margin-bottom: 15px;
}

.pe-meeting-price {
	font-size: 18px;
	font-weight: 600;
	color: var(--pe-primary-color);
	padding: 10px 20px;
	background: var(--pe-primary-color-15);
	border-radius: 25px;
	display: inline-block;
}

.pe-meeting-info {
	margin-top: 25px;
	font-size: 14px;
	color: #6c757d;
	text-align: center;
	max-width: 400px;
	line-height: 1.6;
}

/* Exact participants input (within tier selection) */
.pe-exact-participants {
	margin-top: 20px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.pe-exact-participants label {
	font-size: 14px;
	color: #6c757d;
}

/* Participants price info */
.pe-participants-price-info {
	margin-top: 15px;
	padding: 12px 20px;
	background: var(--pe-primary-color-15);
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	color: var(--pe-primary-color);
	text-align: center;
}

/* Responsive adjustments */
@media screen and (max-width: 900px) {
	.pe-form-layout {
		flex-direction: column;
	}
	
	.pe-steps-sidebar {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #e5e5e5;
		padding: 20px;
	}
	
	.pe-steps-list {
		display: flex;
		overflow-x: auto;
		padding-bottom: 10px;
	}
	
	.pe-step-item {
		flex-direction: column;
		text-align: center;
		min-width: 100px;
		padding: 10px;
		margin-right: 10px;
		margin-bottom: 0;
	}
	
	.pe-step-number {
		margin-right: 0;
		margin-bottom: 8px;
	}
	
	.pe-step-desc {
		display: none;
	}
	
	.pe-steps-content {
		width: 100%;
		padding: 25px;
	}
}

@media screen and (max-width: 600px) {
	.pe-booking-form {
		margin: 10px;
		border-radius: 8px;
	}
	
	.pe-calendar-day {
		width: 36px;
		height: 36px;
		font-size: 13px;
	}
	
	.pe-field-half {
		display: block;
		width: 100%;
		margin-right: 0;
	}
	
	.pe-price-value {
		font-size: 28px;
	}
	
	.pe-step-navigation {
		flex-direction: column;
		gap: 10px;
	}
	
	.pe-btn {
		justify-content: center;
	}
	
	.pe-duration-options {
		flex-direction: column;
	}
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
	.pe-booking-form {
		background: #1e1e1e;
		border-color: #333;
	}
	
	.pe-steps-sidebar {
		background: linear-gradient(180deg, #252525 0%, #1e1e1e 100%);
		border-color: #333;
	}
	
	.pe-steps-title {
		color: #adb5bd;
		border-color: #333;
	}
	
	.pe-step-number {
		background: #333;
		color: #adb5bd;
		border-color: #333;
	}
	
	.pe-step-item:hover {
		background: var(--pe-primary-color-15);
	}
	
	.pe-step-item.active {
		background: var(--pe-primary-color-15);
	}
	
	.pe-step-item.completed {
		background: var(--pe-success-color-15);
	}
	
	.pe-step-name {
		color: #e0e0e0;
	}
	
	.pe-step-desc {
		color: #868e96;
	}
	
	.pe-steps-content {
		background: #1e1e1e;
	}
	
	.pe-step-panel-title {
		color: #e0e0e0;
	}
	
	.pe-step-panel-subtitle {
		color: #adb5bd;
	}
	
	.pe-calendar-title {
		color: #e0e0e0;
	}
	
	.pe-calendar-nav button {
		background: #2d2d2d;
		border-color: #404040;
		color: #e0e0e0;
	}
	
	.pe-calendar th {
		color: #adb5bd;
	}
	
	.pe-calendar-day:hover:not(.disabled):not(.selected) {
		background: #333;
	}
	
	.pe-calendar-day.today {
		background: #333;
	}
	
	.pe-calendar-day.disabled {
		background: #252525;
	}
	
	.pe-time-slot {
		background: #2d2d2d;
		border-color: #404040;
		color: #e0e0e0;
	}
	
	.pe-time-slot:hover:not(.disabled):not(.selected) {
		background: #333;
	}
	
	.pe-duration-option {
		background: #2d2d2d;
		border-color: #404040;
	}
	
	.pe-duration-value {
		color: var(--pe-primary-color);
	}
	
	.pe-duration-label {
		color: #adb5bd;
	}
	
	.pe-form-section-title {
		color: #e0e0e0;
		border-color: #333;
	}
	
	.pe-field label {
		color: #ccc;
	}
	
	.pe-input,
	.pe-select,
	.pe-textarea {
		background: #2d2d2d;
		border-color: #404040;
		color: #e0e0e0;
	}
	
	.pe-input::placeholder,
	.pe-textarea::placeholder {
		color: #6c757d;
	}
	
	.pe-summary-box {
		background: #252525;
	}
	
	.pe-summary-row {
		border-color: #333;
	}
	
	.pe-summary-label {
		color: #adb5bd;
	}
	
	.pe-summary-value {
		color: #e0e0e0;
	}
	
	.pe-btn-secondary {
		background: #2d2d2d;
		color: #e0e0e0;
		border-color: #404040;
	}
	
	.pe-step-navigation {
		border-color: #333;
	}
	
	.pe-success-title {
		color: #e0e0e0;
	}
	
	.pe-success-message {
		color: #adb5bd;
	}
	
	.pe-date-info,
	.pe-participants-info {
		color: #868e96;
	}
}

/* --- Dark Mode Auto-Detection Overrides --- */
.pe-booking-form.pe-dark-mode {
    background: #1a1a1a;
    border-color: #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --pe-text-color: #ffffff;
    --pe-secondary-color: #2d2d2d;
}

.pe-booking-form.pe-dark-mode .pe-steps-sidebar {
    background: linear-gradient(180deg, #242424 0%, #1a1a1a 100%);
    border-color: #333;
}

.pe-booking-form.pe-dark-mode .pe-steps-title {
    color: #a0a0a0;
    border-color: #333;
}

.pe-booking-form.pe-dark-mode .pe-step-name {
    color: #ffffff;
}

.pe-booking-form.pe-dark-mode .pe-step-desc {
    color: #a0a0a0;
}

.pe-booking-form.pe-dark-mode .pe-step-number {
    background: #333;
    color: #888;
    border-color: #333;
}

.pe-booking-form.pe-dark-mode .pe-step-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.pe-booking-form.pe-dark-mode .pe-calendar-day {
    color: #ffffff;
}

.pe-booking-form.pe-dark-mode .pe-calendar-day.disabled {
    color: rgba(255, 255, 255, 0.2) !important;
}

.pe-booking-form.pe-dark-mode .pe-calendar-day.other-month:not(.disabled) {
    color: rgba(255, 255, 255, 0.4);
}

.pe-booking-form.pe-dark-mode .pe-calendar-day.today {
    background: #333;
}

.pe-booking-form.pe-dark-mode .pe-calendar-header {
    color: #ffffff;
}

.pe-booking-form.pe-dark-mode .pe-calendar-nav-btn {
    background: #333;
    color: #fff;
}

.pe-booking-form.pe-dark-mode .pe-input,
.pe-booking-form.pe-dark-mode .pe-select,
.pe-booking-form.pe-dark-mode .pe-textarea {
    background: #2d2d2d;
    border-color: #444;
    color: #fff;
}

.pe-booking-form.pe-dark-mode .pe-summary-card {
    background: #242424;
    border-color: #333;
}

/* Plan Selection Cards (Coworking) */
.pe-plan-selection {
    margin-top: 25px;
}

.pe-plan-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 100%;
}

.pe-plan-card {
    padding: 15px 10px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pe-plan-card:hover {
    border-color: var(--pe-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--pe-primary-color-15);
}

.pe-plan-card.selected {
    border-color: var(--pe-success-color);
    background: linear-gradient(135deg, var(--pe-success-color-08) 0%, var(--pe-success-color-08) 100%);
    box-shadow: 0 8px 25px var(--pe-success-color-20);
}

.pe-plan-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    color: var(--pe-primary-color);
}

.pe-plan-card.selected .pe-plan-icon {
    color: var(--pe-success-color);
}

.pe-plan-card:hover .pe-plan-icon {
    transform: scale(1.05);
}

.pe-plan-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.pe-plan-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--pe-primary-color);
    padding: 6px 14px;
    background: var(--pe-primary-color-15);
    border-radius: 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.pe-plan-card.selected .pe-plan-price {
    background: var(--pe-success-color-15);
    color: var(--pe-success-color);
}

.pe-plan-desc {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
    max-width: 180px;
}

.pe-plan-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--pe-success-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px var(--pe-success-color-20);
    display: none;
}

.pe-plan-card.selected .pe-plan-badge {
    display: block;
}

/* Dark Mode Support for Plan Cards */
.pe-booking-form.pe-dark-mode .pe-plan-card {
    background: #242424;
    border-color: #333;
}

.pe-booking-form.pe-dark-mode .pe-plan-card:hover {
    border-color: var(--pe-primary-color);
    background: #2a2a2a;
}

.pe-booking-form.pe-dark-mode .pe-plan-card.selected {
    border-color: var(--pe-success-color);
    background: rgba(46, 204, 113, 0.05);
}

.pe-booking-form.pe-dark-mode .pe-plan-name {
    color: #fff;
}

.pe-booking-form.pe-dark-mode .pe-plan-desc {
    color: #a0a0a0;
}

/* --- UX Compact: Time Step Layout --- */
.pe-time-step-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

/* --- UX Compact: Mobile Progress --- */
.pe-mobile-progress {
	display: none;
	padding: 15px 20px;
	background: #fff;
	border-bottom: 1px solid #eee;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
}

.pe-progress-step {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #eee;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
	transition: all 0.3s;
}

.pe-progress-step.active {
	background: var(--pe-primary-color);
	color: #fff;
	box-shadow: 0 0 0 4px var(--pe-primary-color-15);
}

.pe-progress-step.completed {
	background: var(--pe-success-color);
	color: #fff;
}

.pe-progress-line {
	flex: 1;
	height: 2px;
	background: #eee;
	transition: all 0.3s;
}

.pe-progress-line.completed {
	background: var(--pe-success-color);
}

@media screen and (max-width: 900px) {
	.pe-mobile-progress {
		display: flex;
	}
	
	.pe-steps-sidebar {
		display: none;
	}
}

@media screen and (max-width: 768px) {
	.pe-time-step-layout {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.pe-tier-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.pe-form-section {
		margin-bottom: 15px;
	}

	.pe-input, .pe-select, .pe-textarea {
		padding: 0 12px;
		line-height: 2em;
		font-size: 15px;
	}

	.pe-step-navigation {
		margin-top: 20px;
		padding: 15px;
		background: #fff;
		position: sticky;
		bottom: -20px;
		z-index: 100;
		border-top: 1px solid #eee;
		margin-left: -20px;
		margin-right: -20px;
		box-shadow: 0 -10px 20px rgba(0,0,0,0.05);
	}

	.pe-btn-next, .pe-btn-submit {
		flex: 1;
		justify-content: center;
		padding: 15px;
		font-size: 17px;
		text-transform: uppercase;
		letter-spacing: 0.5px;
	}

	.pe-btn-prev {
		width: 50px;
		padding: 12px;
		justify-content: center;
		margin-right: 10px;
	}

	.pe-btn-prev span:not(.pe-icon) {
		display: none;
	}

	.pe-booking-form.pe-dark-mode .pe-step-navigation {
		background: #1e1e1e;
		border-color: #333;
	}
}

.pe-booking-form.pe-dark-mode .pe-mobile-progress {
	background: #1e1e1e;
	border-color: #333;
}

.pe-booking-form.pe-dark-mode .pe-progress-step {
	background: #333;
}

.pe-booking-form.pe-dark-mode .pe-progress-line {
	background: #333;
}