/* ========================================
   Book Event Page - Step-by-Step Wizard
   ======================================== */

/* Booking Header */
.booking-header {
    background: linear-gradient(135deg, #3a7cbd 0%, #4a8ac4 50%, #5b9bd5 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.booking-header .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.booking-header .header-text {
    text-align: center;
}

.booking-header .page-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 4px;
}

.booking-header .page-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.booking-header .page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Calendar Preview Section */
.calendar-preview-section {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.calendar-preview-wrapper {
    background: #ffffff;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.calendar-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.calendar-preview-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #5b9bd5;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.calendar-preview-header h3 i {
    color: #5b9bd5;
}

.calendar-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #6c757d;
}

.legend-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.available { background: #10b981; }
.dot.partial { background: #f59e0b; }
.dot.busy { background: #ef4444; }
.dot.event { background: #3b82f6; }
.dot.booking { background: #8b5cf6; }
.dot.blocked { background: #6b7280; }

.calendar-preview-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.calendar-preview-nav h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #5b9bd5;
    margin: 0;
    min-width: 180px;
    text-align: center;
}

.cal-nav-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    background: #ffffff;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5b9bd5;
}

.cal-nav-btn:hover {
    background: #5b9bd5;
    border-color: #5b9bd5;
    color: #ffffff;
}

.cal-today-btn {
    padding: 6px 14px;
    background: #f0f7ff;
    border: 1.5px solid #5b9bd5;
    border-radius: 3px;
    color: #5b9bd5;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cal-today-btn:hover {
    background: #5b9bd5;
    color: #fff;
}

.cal-month-label {
    cursor: pointer;
    border-radius: 3px;
    padding: 4px 12px;
    transition: background 0.2s ease;
}

.cal-month-label:hover {
    background: #f0f7ff;
}

/* Month/Year picker inline input */
.cal-month-input {
    font-size: 1.25rem;
    font-weight: 600;
    color: #5b9bd5;
    text-align: center;
    border: 2px solid #5b9bd5;
    border-radius: 3px;
    padding: 4px 12px;
    min-width: 180px;
    background: #f0f7ff;
    outline: none;
}

.calendar-preview-grid {
    position: relative;
}

.calendar-preview-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.calendar-preview-weekdays span {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-preview-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-preview-days .preview-day {
    min-height: 90px;
    background: #f8f9fa;
    border-radius: 3px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.calendar-preview-days .preview-day:hover:not(.empty):not(.past) {
    background: #e8f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 79, 135, 0.15);
}

.preview-day.empty {
    background: transparent;
}

.preview-day.past {
    opacity: 0.5;
}

.preview-day.today {
    background: #e8f4ff;
    border: 2px solid #5b9bd5;
}

.preview-day .day-number {
    font-size: 0.95rem;
    font-weight: 600;
    color: #5b9bd5;
    margin-bottom: 6px;
}

.preview-day.today .day-number {
    color: #5b9bd5;
    font-weight: 700;
}

.preview-day.past .day-number {
    color: #adb5bd;
}

.preview-day .day-events {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
    flex: 1;
}

.preview-day .event-dot {
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-day .event-dot.event {
    background: rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
}

.preview-day .event-dot.booking {
    background: rgba(139, 92, 246, 0.15);
    color: #6d28d9;
}

.preview-day .event-dot.blocked {
    background: rgba(107, 114, 128, 0.15);
    color: #4b5563;
}

/* Blocked day visual indicator (no text) */
.preview-day.blocked-day {
    background: rgba(239, 68, 68, 0.08);
}

.preview-day.blocked-day .day-number {
    color: #9ca3af;
}

/* Event Dot with Tooltip */
.preview-day .event-dot.has-tooltip {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preview-day .event-dot.has-tooltip:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Calendar Event Tooltip */
.calendar-event-tooltip {
    position: absolute;
    z-index: 9999;
    background: #3a7cbd;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 3px;
    font-size: 0.85rem;
    min-width: 180px;
    max-width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.calendar-event-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.calendar-event-tooltip.tooltip-below {
    transform: translateY(5px);
}

.calendar-event-tooltip.tooltip-below.visible {
    transform: translateY(0);
}

.calendar-event-tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #3a7cbd;
}

.calendar-event-tooltip.tooltip-below::before {
    bottom: auto;
    top: -6px;
    border-top: none;
    border-bottom: 6px solid #3a7cbd;
}

.calendar-event-tooltip .tooltip-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #5b9bd5;
}

.calendar-event-tooltip .tooltip-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
}

.calendar-event-tooltip .tooltip-row:last-child {
    margin-bottom: 0;
}

.calendar-event-tooltip .tooltip-row i {
    font-size: 0.85rem;
    color: #5b9bd5;
    width: 16px;
    text-align: center;
}

.calendar-event-tooltip .tooltip-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.calendar-preview-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 3px;
    z-index: 5;
}

.calendar-preview-loader img {
    width: 60px;
    height: auto;
}

.calendar-preview-loader span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Wizard Section */
.booking-wizard-section {
    padding: 40px 0 100px;
    background: #f8f9fa;
}

/* Progress Steps */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    color: #ffffff;
}

.progress-step.completed .step-number {
    background: #10b981;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
    transition: color 0.3s ease;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: #5b9bd5;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #e9ecef;
    margin: 0 -10px;
    margin-bottom: 28px;
    transition: background 0.3s ease;
}

.progress-line.completed {
    background: #10b981;
}

/* Wizard Container */
.wizard-container {
    max-width: 1000px;
    margin: 0 auto;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wizard-step.active {
    display: block;
}

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

/* Step Header */
.step-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.step-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #5b9bd5;
    margin: 0;
}

.step-header p {
    font-size: 1rem;
    color: #6c757d;
    margin: 5px 0 0 0;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 3px;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-back:hover {
    border-color: #5b9bd5;
    color: #5b9bd5;
}

/* Service Cards (Step 1) */
.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    width: calc(33.333% - 14px);
    box-sizing: border-box;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    padding: 30px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: #5b9bd5;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(43, 79, 135, 0.15);
}

.service-card.selected {
    border-color: #5b9bd5;
    background: linear-gradient(135deg, rgba(43, 79, 135, 0.05) 0%, rgba(91, 155, 213, 0.05) 100%);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 1.75rem;
    color: #5b9bd5;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #5b9bd5;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    flex: 1;
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.duration-hint {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.confirm-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    width: fit-content;
}

.confirm-badge.auto {
    background: rgba(16, 185, 129, 0.15);
    color: #065f46;
}

.confirm-badge.manual {
    background: rgba(245, 158, 11, 0.15);
    color: #92400e;
}

/* Program Panel (Step 2) */
.program-panel {
    background: #ffffff;
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 2px solid #e9ecef;
    border-radius: 3px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #5b9bd5;
    box-shadow: 0 0 0 4px rgba(43, 79, 135, 0.1);
}

/* Upcoming Sessions Box */
.upcoming-sessions-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: 3px;
    padding: 20px;
    margin-bottom: 20px;
}

.sessions-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.sessions-header i {
    font-size: 1.25rem;
    color: #0284c7;
}

.sessions-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0369a1;
    margin: 0;
}

.hint-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #92400e;
}

.hint-badge i {
    font-size: 0.75rem;
    color: #f59e0b;
}

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

.session-item {
    background: #ffffff;
    border-radius: 3px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.session-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.session-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #5b9bd5;
    margin: 0 0 8px 0;
}

.session-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.session-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #6c757d;
}

.session-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.spots-left {
    font-size: 0.8rem;
    font-weight: 600;
    color: #10b981;
}

.btn-join-session {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-join-session:hover {
    background: #059669;
}

.divider-text {
    text-align: center;
    position: relative;
    margin: 25px 0;
}

.divider-text span {
    background: #ffffff;
    padding: 0 15px;
    font-size: 0.85rem;
    color: #6c757d;
    position: relative;
    z-index: 1;
}

.divider-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

/* Program List */
.program-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.program-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.program-item:hover {
    background: #ffffff;
    border-color: #5b9bd5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.program-item.selected {
    background: #ffffff;
    border-color: #5b9bd5;
}

.program-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.program-icon i {
    font-size: 1.25rem;
    color: #5b9bd5;
}

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

.program-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #5b9bd5;
    margin: 0 0 5px 0;
}

.program-info p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.program-tags {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.program-tags .tag {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.tag.individual { background: rgba(16, 185, 129, 0.15); color: #065f46; }
.tag.corporate { background: rgba(59, 130, 246, 0.15); color: #1e40af; }
.tag.university { background: rgba(139, 92, 246, 0.15); color: #5b21b6; }
.tag.multi-day { background: rgba(245, 158, 11, 0.15); color: #92400e; }

/* ========================================
   Odoo Tabs Navigation
   ======================================== */

.odoo-tabs-container {
    background: #ffffff;
    border-radius: 3px;
    overflow: hidden;
}

.odoo-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.odoo-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.odoo-tab i {
    font-size: 0.9rem;
}

.odoo-tab:hover {
    border-color: #714b67;
    color: #714b67;
    background: rgba(113, 75, 103, 0.05);
}

.odoo-tab.active {
    background: linear-gradient(135deg, #714b67, #5a3d53);
    border-color: #714b67;
    color: #ffffff;
}

.odoo-tab.active i {
    color: #ffffff;
}

/* Odoo Tab Content */
.odoo-tab-content {
    display: none;
    padding: 15px;
    animation: fadeIn 0.3s ease;
}

.odoo-tab-content.active {
    display: block;
}

.odoo-tab-content .program-list {
    max-height: 350px;
    overflow-y: auto;
}

/* Odoo No Results */
.odoo-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.odoo-no-results i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.4;
}

.odoo-no-results p {
    margin: 0;
    font-size: 0.95rem;
}

/* Odoo Program Items - Purple accent */
#odooPanel .program-item .program-icon {
    background: linear-gradient(135deg, rgba(113, 75, 103, 0.15) 0%, rgba(113, 75, 103, 0.08) 100%);
}

#odooPanel .program-item .program-icon i {
    color: #714b67;
}

#odooPanel .program-item:hover {
    border-color: #714b67;
}

#odooPanel .program-item.selected {
    border-color: #714b67;
    background: rgba(113, 75, 103, 0.05);
}

#odooPanel .program-item:hover .program-select {
    background: #714b67;
}

/* Dark mode for Odoo tabs */
[data-theme="dark"] .odoo-tabs-container {
    background: #3a7cbd;
}

[data-theme="dark"] .odoo-tabs-nav {
    background: #132d4a;
    border-bottom-color: #3a7cbd;
}

[data-theme="dark"] .odoo-tab {
    background: #3a7cbd;
    border-color: #3a7cbd;
    color: #a0a0a0;
}

[data-theme="dark"] .odoo-tab:hover {
    border-color: #8b5f7f;
    color: #b08aa0;
    background: rgba(113, 75, 103, 0.15);
}

[data-theme="dark"] .odoo-tab.active {
    background: linear-gradient(135deg, #714b67, #5a3d53);
    border-color: #714b67;
    color: #ffffff;
}

[data-theme="dark"] #odooPanel .program-item .program-icon {
    background: linear-gradient(135deg, rgba(113, 75, 103, 0.3) 0%, rgba(113, 75, 103, 0.2) 100%);
}

[data-theme="dark"] #odooPanel .program-item .program-icon i {
    color: #b08aa0;
}

/* Responsive Odoo Tabs */
@media (max-width: 768px) {
    .odoo-tabs-nav {
        gap: 5px;
        padding: 10px;
    }

    .odoo-tab {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .odoo-tab i {
        display: none;
    }

    .odoo-tab-content .program-list {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .odoo-tabs-nav {
        gap: 4px;
        padding: 8px;
    }

    .odoo-tab {
        padding: 5px 8px;
        font-size: 0.7rem;
        border-radius: 6px;
    }
}

.program-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
    flex-shrink: 0;
}

.program-meta .duration,
.program-meta .price {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #6c757d;
}

.program-meta .price {
    color: #5b9bd5;
    font-weight: 600;
}

.program-select {
    width: 36px;
    height: 36px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.program-item:hover .program-select {
    background: #5b9bd5;
    color: #ffffff;
}

/* Custom Request Form (Other) */
.custom-request-form {
    max-width: 600px;
}

.custom-request-form .form-group {
    margin-bottom: 20px;
}

.custom-request-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #5b9bd5;
    margin-bottom: 10px;
}

.custom-request-form input,
.custom-request-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 3px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.custom-request-form input:focus,
.custom-request-form textarea:focus {
    outline: none;
    border-color: #5b9bd5;
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    color: #ffffff;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continue:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 79, 135, 0.3);
}

.btn-continue:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Step 3: Schedule */
.selected-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: 3px;
    margin-bottom: 25px;
}

.summary-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.summary-info {
    flex: 1;
}

.summary-label {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
}

.summary-value {
    font-size: 1rem;
    font-weight: 600;
    color: #5b9bd5;
}

.summary-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ffffff;
    border-radius: 3px;
    font-size: 0.9rem;
    color: #5b9bd5;
    font-weight: 600;
}

.btn-change {
    padding: 8px 16px;
    background: transparent;
    border: 2px solid #0284c7;
    border-radius: 3px;
    color: #0284c7;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-change:hover {
    background: #0284c7;
    color: #ffffff;
}

.multi-day-notice {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 3px;
    margin-bottom: 25px;
}

.multi-day-notice .notice-icon {
    width: 48px;
    height: 48px;
    background: #f59e0b;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.multi-day-notice .notice-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.multi-day-notice .notice-content strong {
    display: block;
    font-size: 1rem;
    color: #92400e;
    margin-bottom: 5px;
}

.multi-day-notice .notice-content p {
    font-size: 0.9rem;
    color: #78350f;
    margin: 0;
    line-height: 1.5;
}

/* Schedule Grid */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.calendar-card,
.time-slots-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.cal-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f0f7ff;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-nav-btn:hover {
    background: #5b9bd5;
    color: #ffffff;
}

.calendar-month {
    font-size: 1.25rem;
    font-weight: 700;
    color: #5b9bd5;
    margin: 0;
}

.calendar-grid {
    position: relative;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-days .day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 3px;
    cursor: default;
    transition: all 0.2s ease;
    position: relative;
}

.day.empty { background: transparent; }
.day.disabled { color: #ccc; }
.day.weekend { color: #ccc; }

.day.available {
    color: #5b9bd5;
    background: #f8f9fa;
    cursor: pointer;
}

.day.available:hover {
    background: #e3f2fd;
    color: #5b9bd5;
    transform: scale(1.1);
}

.day.selected {
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(43, 79, 135, 0.4);
}

.day.blocked {
    background: repeating-linear-gradient(
        45deg,
        #f8f9fa,
        #f8f9fa 3px,
        #e9ecef 3px,
        #e9ecef 6px
    );
    color: #adb5bd;
    cursor: not-allowed;
}

/* Note: Blue event dots removed for cleaner calendar UI */

.calendar-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 3px;
    z-index: 10;
}

.calendar-loader img {
    width: 60px;
    height: auto;
}

.calendar-loader span {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Time Slots */
.time-slots-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #5b9bd5;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.selected-date-display {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0 0 20px 0;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.time-slot {
    padding: 14px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #5b9bd5;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.time-slot:hover:not(:disabled) {
    background: #e3f2fd;
    border-color: #5b9bd5;
    color: #5b9bd5;
}

.time-slot.selected {
    background: linear-gradient(135deg, #5b9bd5 0%, #4a7ab8 50%, #5b9bd5 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(43, 79, 135, 0.3);
}

.time-slot:disabled,
.time-slot.unavailable {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.time-slot.preview {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

.time-slot.preview-start {
    background: #bfdbfe;
    border-color: #2563eb;
    color: #1e40af;
}

.time-slot.preview-conflict {
    background: #fee2e2;
    border-color: #ef4444;
}

.time-slot.selected-range {
    background: linear-gradient(135deg, #4a7ab8 0%, #6ba3d6 50%, #7fb8e8 100%);
    color: #ffffff;
    border-color: transparent;
    opacity: 0.85;
}

/* Time Picker Popover */
.time-picker-popover {
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    animation: popoverFadeIn 0.2s ease;
}

@keyframes popoverFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.time-picker-popover .popover-arrow {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

.time-picker-popover .popover-content {
    padding: 12px;
}

.time-picker-popover .popover-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.time-picker-popover .popover-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.time-picker-popover .popover-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-picker-popover .popover-option:hover {
    background: #e3f2fd;
    border-color: #5b9bd5;
}

.time-picker-popover .popover-option.selected {
    background: linear-gradient(135deg, #5b9bd5 0%, #4a7ab8 50%, #5b9bd5 100%);
    border-color: transparent;
    color: #ffffff;
}

.time-picker-popover .popover-option .option-time {
    font-weight: 700;
    font-size: 0.95rem;
}

.time-picker-popover .popover-option .option-range {
    font-size: 0.8rem;
    opacity: 0.8;
}

.time-picker-popover .popover-option.selected .option-range {
    opacity: 0.9;
}

.time-loader {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 10px;
}

.time-loader img {
    width: 50px;
}

.time-loader span {
    font-size: 0.85rem;
    color: #6c757d;
}

.no-date-selected {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 4px;
    text-align: center;
}

.no-date-selected i {
    font-size: 3rem;
    color: #e9ecef;
    margin-bottom: 15px;
}

.no-date-selected p {
    color: #6c757d;
    margin: 0;
}

.step-actions {
    display: flex;
    justify-content: flex-end;
}

/* Step 4: Confirmation */
.confirmation-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 25px;
}

.booking-summary-card,
.contact-form-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.booking-summary-card h3,
.contact-form-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #5b9bd5;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

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

.summary-row .label {
    font-size: 0.9rem;
    color: #6c757d;
}

.summary-row .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #5b9bd5;
}

.confirmation-note,
.instant-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 3px;
    font-size: 0.85rem;
}

.confirmation-note {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
}

.instant-note {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
}

/* Contact Form */
.contact-form-card .form-group {
    margin-bottom: 20px;
}

.contact-form-card label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5b9bd5;
    margin-bottom: 8px;
}

.contact-form-card .required {
    color: #ef4444;
}

.contact-form-card .optional {
    color: #6c757d;
    font-weight: 400;
    font-size: 0.8rem;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 3px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: #5b9bd5;
    box-shadow: 0 0 0 4px rgba(43, 79, 135, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.form-check input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-check label {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.form-check a {
    color: #5b9bd5;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    color: #ffffff;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(43, 79, 135, 0.4);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Full Calendar Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    border-radius: 4px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-container.large {
    max-width: 900px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #ef4444;
    color: #ffffff;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}


/* Dark Mode */
[data-theme="dark"] .booking-wizard-section,
[data-theme="dark"] .calendar-preview-section {
    background: #132d4a;
}

[data-theme="dark"] .calendar-preview-wrapper,
[data-theme="dark"] .service-card,
[data-theme="dark"] .program-panel,
[data-theme="dark"] .calendar-card,
[data-theme="dark"] .time-slots-card,
[data-theme="dark"] .no-date-selected,
[data-theme="dark"] .booking-summary-card,
[data-theme="dark"] .contact-form-card {
    background: #3a7cbd;
    border-color: #3a7cbd;
}

[data-theme="dark"] .calendar-preview-header h3,
[data-theme="dark"] .calendar-preview-nav h4 {
    color: #ffffff;
}

[data-theme="dark"] .preview-day {
    background: #3a7cbd;
}

[data-theme="dark"] .preview-day .day-number {
    color: #ffffff;
}

[data-theme="dark"] .preview-day.today {
    background: #4a8ac4;
    border-color: #5b9bd5;
}

[data-theme="dark"] .step-header h2,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .program-info h4,
[data-theme="dark"] .calendar-month {
    color: #ffffff;
}

[data-theme="dark"] .day.available {
    background: #3a7cbd;
    color: #ffffff;
}

[data-theme="dark"] .time-slot {
    background: #3a7cbd;
    color: #ffffff;
}

[data-theme="dark"] .time-slot.preview {
    background: #4a8ac4;
    border-color: #5b9bd5;
}

[data-theme="dark"] .time-slot.selected-range {
    background: linear-gradient(135deg, #3a5a8a 0%, #4a7ab8 50%, #5b9bd5 100%);
}

[data-theme="dark"] .time-picker-popover {
    background: #3a7cbd;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .time-picker-popover .popover-arrow {
    border-bottom-color: #3a7cbd;
}

[data-theme="dark"] .time-picker-popover .popover-header {
    color: #a0a0a0;
    border-bottom-color: #3a7cbd;
}

[data-theme="dark"] .time-picker-popover .popover-option {
    background: #3a7cbd;
    color: #ffffff;
}

[data-theme="dark"] .time-picker-popover .popover-option:hover {
    background: #4a8ac4;
    border-color: #5b9bd5;
}

[data-theme="dark"] .modal-container {
    background: #3a7cbd;
}

[data-theme="dark"] .modal-header {
    border-color: #3a7cbd;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-card {
        width: calc(50% - 10px);
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .confirmation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .booking-header {
        padding: 100px 0 50px;
    }

    .booking-header .page-title {
        font-size: 2.5rem;
    }

    .booking-header .page-subtitle {
        font-size: 1.1rem;
    }

    .calendar-preview-section {
        padding: 30px 0;
    }

    .calendar-preview-wrapper {
        padding: 20px;
    }

    .calendar-preview-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar-legend {
        gap: 12px;
    }

    .calendar-preview-weekdays span {
        font-size: 0.75rem;
    }

    .calendar-preview-days .preview-day {
        min-height: 70px;
        padding: 5px;
    }

    .preview-day .day-number {
        font-size: 0.85rem;
    }

    .preview-day .event-dot {
        font-size: 0.6rem;
        padding: 2px 4px;
    }

    .wizard-progress {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .step-label {
        display: none;
    }

    .service-card {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .booking-header {
        padding: 80px 0 40px;
    }

    .booking-header .page-tag {
        font-size: 0.85rem;
    }

    .booking-header .page-title {
        font-size: 2rem;
    }

    .booking-header .page-subtitle {
        font-size: 1rem;
    }

    .calendar-preview-wrapper {
        padding: 15px;
    }

    .calendar-preview-header h3 {
        font-size: 1rem;
    }

    .calendar-preview-nav h4 {
        font-size: 1rem;
        min-width: 140px;
    }

    .cal-nav-btn {
        width: 36px;
        height: 36px;
    }

    .calendar-preview-weekdays span {
        font-size: 0.65rem;
    }

    .calendar-preview-days {
        gap: 4px;
    }

    .calendar-preview-days .preview-day {
        min-height: 55px;
        padding: 4px;
    }

    .preview-day .day-number {
        font-size: 0.75rem;
        margin-bottom: 3px;
    }

    .preview-day .event-dot {
        font-size: 0.55rem;
        padding: 1px 3px;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .selected-summary {
        flex-wrap: wrap;
    }

    .time-slots-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Step 4: Payment Section Styles
   ======================================== */

.payment-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.payment-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.payment-section {
    background: #ffffff;
    border-radius: 4px;
    padding: 28px;
    border: 1px solid #e9ecef;
}

.payment-section .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f3f4;
}

.payment-section .section-title i {
    font-size: 1.25rem;
    color: #5b9bd5;
}

.payment-section .section-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3a7cbd;
    margin: 0;
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-card:hover {
    background: #ffffff;
    border-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.payment-method-card.selected {
    background: #ffffff;
    border-color: #5b9bd5;
    box-shadow: 0 8px 25px rgba(43, 79, 135, 0.15);
}

.payment-method-card .method-icon {
    width: 80px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method-card .method-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-method-card .method-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
    text-align: center;
}

.payment-method-card.selected .method-name {
    color: #5b9bd5;
    font-weight: 600;
}

.payment-method-card .method-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #5b9bd5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.payment-method-card.selected .method-check {
    opacity: 1;
    transform: scale(1);
}

/* Accepted Payments Display */
.accepted-payments {
    text-align: center;
    padding: 20px 0;
}

.accepted-payments .accepted-label {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.payment-icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.payment-icon-item {
    width: 85px;
    height: 55px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 3px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.payment-icon-item:hover {
    border-color: #5b9bd5;
    box-shadow: 0 4px 12px rgba(43, 79, 135, 0.1);
    transform: translateY(-2px);
}

.payment-icon-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-info-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 3px;
    padding: 16px 20px;
    text-align: left;
}

.payment-info-note i {
    color: #0284c7;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.payment-info-note p {
    margin: 0;
    font-size: 0.9rem;
    color: #0369a1;
    line-height: 1.5;
}

[data-theme="dark"] .accepted-payments .accepted-label {
    color: #a0aec0;
}

[data-theme="dark"] .payment-icon-item {
    background: #3a7cbd;
    border-color: #4a5568;
}

[data-theme="dark"] .payment-icon-item:hover {
    border-color: #5b9bd5;
}

[data-theme="dark"] .payment-info-note {
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    border-color: #3b82f6;
}

[data-theme="dark"] .payment-info-note i {
    color: #60a5fa;
}

[data-theme="dark"] .payment-info-note p {
    color: #bfdbfe;
}

/* Payment Section Form Styles */
.payment-section .form-group {
    margin-bottom: 20px;
}

.payment-section label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5b9bd5;
    margin-bottom: 8px;
}

.payment-section .required {
    color: #ef4444;
}

.payment-section .optional {
    color: #6c757d;
    font-weight: 400;
    font-size: 0.8rem;
}

.payment-section input,
.payment-section textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 3px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #5b9bd5;
}

.payment-section input:focus,
.payment-section textarea:focus {
    outline: none;
    border-color: #5b9bd5;
    box-shadow: 0 0 0 4px rgba(43, 79, 135, 0.1);
}

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

.payment-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Dark mode for payment section forms */
[data-theme="dark"] .payment-section input,
[data-theme="dark"] .payment-section textarea {
    background: #3a7cbd;
    border-color: #3a3a5e;
    color: #ffffff;
}

[data-theme="dark"] .payment-section input:focus,
[data-theme="dark"] .payment-section textarea:focus {
    border-color: #5b9bd5;
    box-shadow: 0 0 0 4px rgba(91, 155, 213, 0.15);
}

[data-theme="dark"] .payment-section input::placeholder,
[data-theme="dark"] .payment-section textarea::placeholder {
    color: #6c757d;
}

[data-theme="dark"] .payment-section label {
    color: #e0e0e0;
}

/* Payment Forms */
.payment-forms {
    animation: fadeIn 0.3s ease;
}

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

.payment-form {
    padding-top: 20px;
    border-top: 1px solid #f1f3f4;
}

.wallet-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 3px;
    margin-bottom: 20px;
}

.wallet-info i {
    font-size: 1.5rem;
    color: #5b9bd5;
    flex-shrink: 0;
}

.wallet-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
}

.card-input-wrapper {
    position: relative;
}

.card-input-wrapper input {
    padding-right: 50px;
}

.card-input-wrapper .card-icons {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 6px;
    color: #adb5bd;
}

/* Payment Sidebar */
.payment-sidebar {
    position: sticky;
    top: 100px;
}

.order-summary-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 28px;
    border: 1px solid #e9ecef;
}

.order-summary-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3a7cbd;
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f3f4;
}

.order-summary-card h3 i {
    color: #5b9bd5;
}

.order-summary-card .summary-details {
    margin-bottom: 20px;
}

.order-summary-card .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.order-summary-card .summary-row .label {
    font-size: 0.9rem;
    color: #6c757d;
}

.order-summary-card .summary-row .value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #3a7cbd;
}

.price-breakdown {
    background: #f8f9fa;
    border-radius: 3px;
    padding: 16px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.price-row.subtotal {
    color: #6c757d;
    font-size: 0.9rem;
    border-bottom: 1px dashed #e9ecef;
}

.price-row.total {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3a7cbd;
    padding-top: 12px;
}

.price-row.discount {
    color: #10b981;
    font-weight: 500;
    font-size: 0.9rem;
}

.discount-badge-container {
    margin-top: 15px;
}

.discount-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 12px 16px;
    border-radius: 3px;
    color: #059669;
    font-weight: 500;
    font-size: 0.9rem;
}

.discount-badge i {
    font-size: 1.25rem;
}

.login-for-discount {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 12px 16px;
    border-radius: 3px;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 15px;
}

.login-for-discount i {
    font-size: 1.25rem;
    color: #5b9bd5;
}

.login-for-discount a {
    color: #5b9bd5;
    font-weight: 600;
    text-decoration: none;
}

.login-for-discount a:hover {
    text-decoration: underline;
}

.terms-check {
    margin-bottom: 20px;
}

.terms-check label {
    font-size: 0.85rem;
}

.btn-pay {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #5b9bd5, #5b9bd5);
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pay:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(43, 79, 135, 0.3);
}

.btn-pay:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f3f4;
    font-size: 0.8rem;
    color: #6c757d;
}

.secure-badge i {
    color: #10b981;
}

/* Dark Mode for Payment Section */
[data-theme="dark"] .payment-section {
    background: #3a7cbd;
    border-color: #3a7cbd;
}

[data-theme="dark"] .payment-section .section-title {
    border-bottom-color: #3a7cbd;
}

[data-theme="dark"] .payment-section .section-title h3 {
    color: #ffffff;
}

[data-theme="dark"] .payment-section .section-title i {
    color: #5b9bd5;
}

[data-theme="dark"] .payment-method-card {
    background: #3a7cbd;
    border-color: transparent;
}

[data-theme="dark"] .payment-method-card:hover {
    background: #3a3a5e;
    border-color: #4a4a6e;
}

[data-theme="dark"] .payment-method-card.selected {
    background: #3a7cbd;
    border-color: #5b9bd5;
}

[data-theme="dark"] .payment-method-card .method-name {
    color: #a0a0a0;
}

[data-theme="dark"] .payment-method-card.selected .method-name {
    color: #5b9bd5;
}

[data-theme="dark"] .wallet-info {
    background: #3a7cbd;
}

[data-theme="dark"] .wallet-info p {
    color: #a0a0a0;
}

[data-theme="dark"] .order-summary-card {
    background: #3a7cbd;
    border-color: #3a7cbd;
}

[data-theme="dark"] .order-summary-card h3 {
    color: #ffffff;
    border-bottom-color: #3a7cbd;
}

[data-theme="dark"] .order-summary-card .summary-row {
    border-bottom-color: #3a7cbd;
}

[data-theme="dark"] .order-summary-card .summary-row .label {
    color: #a0a0a0;
}

[data-theme="dark"] .order-summary-card .summary-row .value {
    color: #ffffff;
}

[data-theme="dark"] .price-breakdown {
    background: #3a7cbd;
}

[data-theme="dark"] .price-row.subtotal {
    color: #a0a0a0;
    border-bottom-color: #3a3a5e;
}

[data-theme="dark"] .price-row.total {
    color: #ffffff;
}

[data-theme="dark"] .login-for-discount {
    background: #3a7cbd;
    border-color: #3a3a5e;
    color: #a0a0a0;
}

[data-theme="dark"] .secure-badge {
    border-top-color: #3a7cbd;
    color: #a0a0a0;
}

/* Responsive */
@media (max-width: 1200px) {
    .payment-methods-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .payment-layout {
        grid-template-columns: 1fr;
    }

    .payment-sidebar {
        position: static;
    }

    .payment-methods-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .payment-method-card {
        padding: 16px 10px;
    }

    .payment-method-card .method-icon {
        width: 60px;
        height: 35px;
    }

    .payment-section {
        padding: 20px;
    }

    .payment-section .form-row {
        grid-template-columns: 1fr;
    }

    .order-summary-card {
        padding: 20px;
    }
}
