/* ==================== MODERN LOGISTICS BOOKING FORM ==================== */
/* Centralized styles for the booking form UI */

/* === CSS Variables for Theming === */
:root {
    --booking-primary: #038164;
    --booking-primary-light: #32aa8e;
    --booking-primary-dark: #004938;
    --booking-card-bg: #ffffff;
    --booking-card-border: #e5e7eb;
    --booking-text-primary: #1f2937;
    --booking-text-secondary: #6b7280;
    --booking-text-muted: #9ca3af;
    --booking-input-bg: #ffffff;
    --booking-input-border: #e5e7eb;
    --booking-section-bg: #f9fafb;
    --booking-success-bg: #f0fdf4;
    --booking-success-border: #86efac;
    --booking-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --booking-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dark mode variables */
.dark,
[data-bs-theme="dark"] {
    --booking-card-bg: #1f2937;
    --booking-card-border: #374151;
    --booking-text-primary: #f3f4f6;
    --booking-text-secondary: #d1d5db;
    --booking-text-muted: #9ca3af;
    --booking-input-bg: #374151;
    --booking-input-border: #4b5563;
    --booking-section-bg: #111827;
    --booking-success-bg: #064e3b;
    --booking-success-border: #059669;
}

/* === Utility Classes === */
.d-none {
    display: none !important;
}

/* === Main Container - Centered Layout === */
.booking-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.booking-form-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* === Hero Section === */
.booking-hero {
    background: linear-gradient(135deg, var(--booking-primary) 0%, var(--booking-primary-dark) 100%);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    color: white;
    margin-top: 4rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
}

.booking-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.booking-hero h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.booking-hero p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* === Section Cards === */
.booking-card {
    background: var(--booking-card-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--booking-shadow);
    border: 1px solid var(--booking-card-border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    width: 100%;
    max-width: 1200px;
}

.booking-card:hover {
    box-shadow: var(--booking-shadow-hover);
}

/* === Section Headers === */
.booking-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--booking-card-border);
}

.booking-section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--booking-primary) 0%, var(--booking-primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.booking-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--booking-text-primary);
    margin: 0;
}

.booking-section-subtitle {
    font-size: 0.875rem;
    color: var(--booking-text-secondary);
    margin: 0.25rem 0 0 0;
}

/* === Form Labels === */
.booking-form label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--booking-text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.booking-form label i,
.booking-form label span {
    margin-right: 0.5rem;
}

/* === Ensure Bootstrap Grid Works Inside Cards === */
.booking-card .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.booking-card .row>[class*="col-"] {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

/* === Form Inputs === */
.booking-form .form-control,
.booking-form .form-select {
    background-color: var(--booking-input-bg);
    border: 2px solid var(--booking-input-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--booking-text-primary);
    transition: all 0.3s ease;
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--booking-primary);
    box-shadow: 0 0 0 4px rgba(3, 129, 100, 0.15);
    outline: none;
}

.booking-form .form-control::placeholder {
    color: var(--booking-text-muted);
}

/* Force light inputs in booking form regardless of dark mode */
.booking-form .light-input {
    background-color: #ffffff !important;
    color: #1f2937 !important;
    border-color: #e5e7eb !important;
}

.booking-form .light-input::placeholder {
    color: #9ca3af !important;
}

/* === Location Group (Combo Select + Input) === */
.location-group {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: hidden;
    border: 2px solid var(--booking-input-border);
    transition: all 0.3s ease;
}

.location-group:hover {
    border-color: var(--booking-primary);
}

.location-group:focus-within {
    border-color: var(--booking-primary);
    box-shadow: 0 0 0 4px rgba(3, 129, 100, 0.15);
}

.location-type-select {
    border: none !important;
    background-color: #f9fafb !important;
    border-right: 2px solid #e5e7eb !important;
    border-radius: 0 !important;
    padding: 0.75rem 0.5rem !important;
    width: 90px;
    min-width: 90px;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    box-shadow: none !important;
    text-align: center;
    cursor: pointer;
}

.location-address-input {
    border: none !important;
    background-color: #ffffff !important;
    border-radius: 0 !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    flex: 1;
    color: #1f2937 !important;
    box-shadow: none !important;
}

.location-address-input:focus {
    outline: none;
    background-color: #f0fdf4 !important;
}

.location-address-input::placeholder {
    color: #9ca3af !important;
}

/* === Route Connector Arrow === */
.route-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.route-arrow {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--booking-primary) 0%, var(--booking-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(3, 129, 100, 0.3);
}

@media (max-width: 991px) {
    .route-connector {
        display: none;
    }
}

/* === Booking Type Buttons === */
.booking-type-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--booking-input-border) !important;
    border-radius: 10px;
    background-color: var(--booking-card-bg);
    color: var(--booking-text-primary);
    position: relative;
    overflow: hidden;
}

.booking-type-btn:hover {
    border-color: var(--booking-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 129, 100, 0.2);
}

.booking-type-btn.active {
    background: linear-gradient(135deg, var(--booking-primary) 0%, var(--booking-primary-light) 100%);
    color: #ffffff !important;
    border-color: var(--booking-primary) !important;
}

/* === Time Select Styling === */
.time-select {
    border: none !important;
    background-color: transparent !important;
    padding: 0.75rem !important;
    font-size: 0.9rem !important;
    color: #1f2937 !important;
    box-shadow: none !important;
    cursor: pointer;
    flex: 1;
    font-weight: 500;
}

.time-select:focus {
    background-color: rgba(3, 129, 100, 0.05) !important;
    outline: none;
}

/* === Parcel Type Cards === */
.parcel-type {
    background: var(--booking-card-bg);
    border: 2px solid var(--booking-card-border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
}

.parcel-type:hover {
    border-color: var(--booking-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(3, 129, 100, 0.15);
}

.parcel-type.active {
    border-color: var(--booking-primary);
    background: linear-gradient(135deg, rgba(3, 129, 100, 0.1) 0%, rgba(50, 170, 142, 0.1) 100%);
    box-shadow: 0 4px 16px rgba(3, 129, 100, 0.2);
}

.parcel-type h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--booking-text-primary);
    margin-bottom: 0.5rem;
}

.parcel-type.active h5 {
    color: var(--booking-primary);
}

.parcel-type p {
    font-size: 0.813rem;
    color: var(--booking-text-secondary);
    margin: 0;
}

/* === Package Item Cards === */
.package-item {
    background: var(--booking-card-bg) !important;
    border: 1px solid var(--booking-card-border) !important;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.package-item .card-header {
    background: var(--booking-section-bg) !important;
    border-bottom: 1px solid var(--booking-card-border) !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 1rem 1.5rem;
}

.package-item .card-header h6 {
    color: var(--booking-primary) !important;
    font-weight: 600;
}

.package-item .card-body {
    padding: 1.5rem;
}

/* === Input Groups === */
.booking-form .input-group-text {
    background: var(--booking-section-bg);
    border: 2px solid var(--booking-input-border);
    border-right: none;
    color: var(--booking-text-secondary);
    border-radius: 10px 0 0 10px;
}

.booking-form .input-group .form-control {
    border-radius: 0 10px 10px 0;
}

/* === Store Selector === */
.store-selector-wrapper {
    background: var(--booking-success-bg);
    border: 2px dashed var(--booking-success-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.store-selector-wrapper label {
    color: #166534;
    font-weight: 600;
}

/* === Time Hints and Errors === */
.time-hint-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    background-color: #dbeafe;
    border-left: 3px solid #3b82f6;
    border-radius: 6px;
    font-size: 0.813rem;
    color: #1e40af;
    font-weight: 500;
}

.time-hint-badge:empty {
    display: none;
}

.time-error-message {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    background-color: #fee2e2;
    border-left: 3px solid #dc2626;
    border-radius: 6px;
    font-size: 0.813rem;
    color: #991b1b;
    font-weight: 500;
}

.time-error-message:empty {
    display: none;
}

.time-error-message::before {
    content: "⚠";
    margin-right: 8px;
    font-size: 1rem;
}

/* === Primary Button === */
.booking-form .btn-primary {
    background: linear-gradient(135deg, var(--booking-primary) 0%, var(--booking-primary-light) 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(3, 129, 100, 0.3);
}

.booking-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(3, 129, 100, 0.4);
    background: linear-gradient(135deg, var(--booking-primary-dark) 0%, var(--booking-primary) 100%);
}

.booking-form .btn-primary:active {
    transform: translateY(-1px);
}

/* === Add Package Button (Dashed) === */
.btn-add-package {
    border: 2px dashed #d1d5db !important;
    background: var(--booking-section-bg) !important;
    color: var(--booking-text-secondary) !important;
    border-radius: 12px;
    padding: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-add-package:hover {
    border-color: var(--booking-primary) !important;
    background: rgba(3, 129, 100, 0.05) !important;
    color: var(--booking-primary) !important;
}

/* === Use Location Button === */
.btn-current-location {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.813rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.btn-current-location:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
}

/* === Alert Styling === */
.booking-form .alert-primary {
    background-color: #f0fdf4 !important;
    border-color: #dcfce7 !important;
    color: #166534 !important;
    border-radius: 10px;
}

/* === Tabs Styling === */
.booking-form .nav-tabs {
    border-bottom: 2px solid var(--booking-card-border);
}

.booking-form .nav-tabs .nav-link {
    color: var(--booking-text-secondary) !important;
    border: none;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.booking-form .nav-tabs .nav-link:hover {
    color: var(--booking-primary) !important;
}

.booking-form .nav-tabs .nav-link.active {
    color: var(--booking-primary) !important;
    background-color: transparent !important;
    border-bottom: 3px solid var(--booking-primary) !important;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .booking-container {
        padding: 0 1rem;
    }

    .booking-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .booking-hero {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .booking-hero h2 {
        font-size: 1.5rem;
    }

    .booking-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .location-type-select {
        width: 100px;
        min-width: 100px;
        font-size: 0.8rem !important;
    }
}

/* === Measurement Guidelines Styling === */
.measurement-diagram {
    background-color: #ffffff !important;
    border-radius: 8px;
    padding: 1rem;
}

/* === Fancy Multi-Select Styling === */
.fancy-select-wrap {
    background: var(--booking-input-bg);
    border: 2px solid var(--booking-input-border);
    border-radius: 10px;
    overflow: hidden;
}

.fancy-select-wrap .selected {
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: var(--booking-text-primary);
}

.fancy-select-wrap .selected>span {
    background: rgba(3, 129, 100, 0.1);
    color: var(--booking-primary);
    padding: 0.25rem 2rem 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
}

.fancy-select-wrap .selected>span:hover {
    background: var(--booking-primary);
    color: white;
}

.fancy-select-wrap .options {
    background: var(--booking-card-bg);
    border-top: 1px solid var(--booking-card-border);
}

.fancy-select-wrap .options>div:hover {
    background: rgba(3, 129, 100, 0.1);
}

.fancy-select-wrap .options>div[data-selected='1'] {
    background: rgba(3, 129, 100, 0.15);
}

.fancy-select-wrap .options>div[data-selected='1']:hover {
    background: var(--booking-primary);
    color: white;
}

/* === Measurement Guidelines Modal === */
#measurementGuidelinesModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1055;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1rem;
}

#measurementGuidelinesModal:not(.show) {
    display: none !important;
}

#measurementGuidelinesModal .modal-dialog {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    pointer-events: auto;
}

#measurementGuidelinesModal .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    background-clip: padding-box;
    border: none;
    border-radius: 16px;
    outline: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#measurementGuidelinesModal .modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--booking-primary) 0%, var(--booking-primary-dark) 100%);
    color: white;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom: none;
}

#measurementGuidelinesModal .modal-header .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

#measurementGuidelinesModal .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

#measurementGuidelinesModal .modal-header .btn-close:hover {
    opacity: 1;
}

#measurementGuidelinesModal .modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

#measurementGuidelinesModal .modal-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
}

/* Modal Tab Navigation */
#measurementGuidelinesModal .nav-tabs {
    border-bottom: 2px solid #e9ecef;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#measurementGuidelinesModal .nav-tabs .nav-link {
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    color: #6b7280;
    background-color: transparent;
    transition: all 0.2s ease;
}

#measurementGuidelinesModal .nav-tabs .nav-link:hover {
    color: var(--booking-primary);
    background-color: rgba(3, 129, 100, 0.1);
}

#measurementGuidelinesModal .nav-tabs .nav-link.active {
    color: white;
    background: linear-gradient(135deg, var(--booking-primary) 0%, var(--booking-primary-light) 100%);
    border: none;
}

#measurementGuidelinesModal .nav-tabs .nav-link i {
    margin-right: 0.5rem;
}

/* Tab Content - CRITICAL: Hide inactive tabs */
#measurementGuidelinesModal .tab-content .tab-pane {
    display: none;
}

#measurementGuidelinesModal .tab-content .tab-pane.active {
    display: block;
}

#measurementGuidelinesModal .tab-content .tab-pane.show {
    display: block;
}

/* Tab Content Styling */
#measurementGuidelinesModal .tab-content {
    padding-top: 1.5rem;
}

#measurementGuidelinesModal .tab-content ul {
    padding-left: 1.25rem;
    margin: 0;
}

#measurementGuidelinesModal .tab-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #374151;
}

#measurementGuidelinesModal .tab-content li strong {
    color: var(--booking-primary);
}

/* Visual Guide Box */
#measurementGuidelinesModal .measurement-diagram {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#measurementGuidelinesModal .border.rounded {
    border-color: #e2e8f0 !important;
    background-color: #fff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* === Booking Summary / Invoice Style === */
.booking-summary-container {
    background-color: var(--booking-card-bg);
    border-radius: 12px;
    overflow: hidden;
}

.summary-details-col {
    padding: 1rem;
    height: 100%;
    border-radius: 8px;
    background-color: var(--booking-section-bg);
    border: 1px solid var(--booking-card-border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--booking-card-border);
    font-size: 0.9rem;
    color: var(--booking-text-secondary);
}

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

.summary-label {
    font-weight: 500;
}

.summary-value {
    font-weight: 600;
    color: var(--booking-text-primary);
    text-align: right;
}

.summary-total-section {
    background: linear-gradient(135deg, rgba(3, 129, 100, 0.05) 0%, rgba(50, 170, 142, 0.05) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(3, 129, 100, 0.2);
    margin-top: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--booking-primary);
    border-top: 2px solid rgba(3, 129, 100, 0.1);
    margin-top: 0.5rem;
}

.booking-action-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--booking-card-border);
    text-align: center;
    width: 100%;
}

.booking-action-footer .btn-primary {
    width: 50%;
}

/* Mobile adjustment for button width */
@media (max-width: 768px) {
    .booking-action-footer .btn-primary {
        width: 100%;
    }
}

/* === Payment Page Redesign === */
.payment-page-container {
    max-width: 1000px;
    margin: 0 auto;
}

.payment-header {
    margin-bottom: 2rem;
    text-align: center;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(3, 129, 100, 0.1);
    color: var(--booking-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timer-banner {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.timer-banner i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.payment-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--booking-text-primary);
    display: flex;
    align-items: center;
}

.payment-section-title i {
    margin-right: 0.75rem;
    color: var(--booking-primary);
}

/* Compact Payment Method Cards - Display in one row */
.payment-page-container .payment-method-card {
    background-color: var(--booking-card-bg);
    border: 2px solid var(--booking-card-border);
    border-radius: 10px;
    padding: 0.5rem 0.75rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    height: auto !important;
    min-height: 50px !important;
    max-height: 60px !important;
    width: 70px !important;
    min-width: 70px !important;
    flex: 0 0 auto !important;
}

.payment-page-container .payment-method-card:hover {
    border-color: var(--booking-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--booking-shadow-hover);
}

.payment-page-container .payment-method-card.selected {
    border-color: var(--booking-primary);
    background-color: rgba(3, 129, 100, 0.02);
}

.payment-page-container .payment-method-icon {
    font-size: 1.1rem !important;
    margin-bottom: 0.15rem !important;
    color: var(--booking-text-secondary);
}

.payment-page-container .payment-method-name {
    font-weight: 600;
    font-size: 0.65rem !important;
    color: var(--booking-text-primary);
    margin-bottom: 0;
    line-height: 1.1;
}

.payment-page-container .payment-method-desc {
    display: none !important;
}

/* Wrapper for payment methods to ensure horizontal layout */
.payment-methods-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-methods-wrapper .d-flex {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

/* Specific Brand Colors */
.payment-method-card.paypal:hover .payment-method-icon {
    color: #003087;
}

.payment-method-card.stripe:hover .payment-method-icon {
    color: #635bff;
}

.payment-method-card.wallet:hover .payment-method-icon {
    color: var(--booking-primary);
}

.payment-method-card.cod:hover .payment-method-icon {
    color: #2d3748;
}

.dark .timer-banner {
    background-color: #423004;
    color: #ffda6a;
    border-color: #584107;
}