/* Main Container */
.elevator-tool-container {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Header & Tabs */
.elevator-header {
    background: #0073aa;
    color: #fff;
    padding: 20px 20px 0;
    border-radius: 8px 8px 0 0;
}

.elevator-header h2 {
    margin: 0 0 20px;
    color: #fff;
}

.elevator-tabs {
    display: flex;
    gap: 5px;
}

.tab-link {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 12px 20px;
    color: #fff;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-link.active {
    background: #fff;
    color: #0073aa;
}

.tab-pane {
    display: none;
    padding: 30px;
}

.tab-pane.active {
    display: block;
}

/* --- COMPONENTS TAB STYLES --- */
.components-wrapper {
    margin-top: 20px;
    border: 1px dashed #f39c12;
    /* Orange dashed border from reference */
    padding: 20px;
    background: #fffdf9;
    /* Very light warm background */
    border-radius: 5px;
}

/* Tab Navigation */
.comp-tabs-nav {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0px;
}

.comp-tab-link {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-bottom: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    font-weight: 600;
    color: #666;
    transition: all 0.2s;
    font-size: 14px;
    position: relative;
    top: 1px;
    /* Overlap border */
}

.comp-tab-link:hover {
    background: #f0f0f0;
    color: #333;
}

.comp-tab-link.active {
    background: #fff;
    color: #d35400;
    /* Darker Orange */
    border-color: #ddd;
    border-top: 3px solid #f39c12;
    /* Orange Top Highlight */
    border-bottom: 1px solid #fff;
    /* Hide bottom border */
    box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.02);
}

/* Tab Content */
.comp-tab-pane {
    animation: fadeIn 0.3s ease-in-out;
    padding-top: 5px;
}

/* Tables */
.comp-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.comp-table th {
    background: linear-gradient(180deg, #f8f9fa 0%, #f0f0f1 100%);
    color: #333;
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e5e5e5;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.comp-table td {
    padding: 10px 15px;
    border: 1px solid #e5e5e5;
    vertical-align: middle;
    color: #444;
    font-size: 0.92rem;
}

/* Zebra striping */
.comp-table tr:nth-child(even) {
    background-color: #fff;
}

.comp-table tr:nth-child(odd) {
    background-color: #fafafa;
}

.comp-table tr:hover {
    background-color: #fff8e1;
}

/* Input Styles */
.comp-qty {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    width: 70px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s;
}

.comp-qty:focus {
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2);
    outline: none;
}

/* Prices */
.comp-price-col,
.comp-total-col {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

.comp-total {
    font-weight: 700;
    color: #e74c3c;
}

/* --- COMPONENT CHECKOUT SECTION --- */
.comp-checkout-title {
    color: #d35400;
    font-size: 1.2rem;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f39c12;
}

.comp-checkout-rows {
    background: #fafafa;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #eee;
}

.comp-checkout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

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

.comp-checkout-label {
    font-weight: 600;
    color: #444;
}

.comp-checkout-value {
    font-weight: 600;
    color: #333;
    text-align: right;
}

.comp-checkout-grand {
    background: linear-gradient(135deg, #fff5f5, #ffe8e8);
    margin: 8px -12px -12px;
    padding: 14px 12px !important;
    border-radius: 0 0 8px 8px;
    border-bottom: none !important;
    border-top: 2px solid #d63638;
}

.comp-checkout-grand .comp-checkout-label {
    color: #d63638;
    font-size: 1.05rem;
    font-weight: 700;
}

.comp-checkout-grand .comp-checkout-value {
    color: #d63638;
    font-size: 1.2rem;
    font-weight: 700;
}

.comp-checkout-text {
    text-align: right;
    margin-top: 10px;
    font-style: italic;
    font-size: 0.88rem;
    color: #666;
}

.comp-checkout-note {
    margin-top: 15px;
}

.comp-checkout-note label {
    display: block;
    margin-bottom: 5px;
}

.comp-checkout-action {
    margin-top: 20px;
    text-align: center;
}

.btn-comp-export {
    background: linear-gradient(135deg, #d35400, #e67e22);
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(211, 84, 0, 0.25);
}

.btn-comp-export:hover {
    background: linear-gradient(135deg, #c0392b, #d35400);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 84, 0, 0.35);
}

.btn-comp-export:active {
    transform: translateY(0);
}

#comp-selected-list .comp-table th {
    background: #fdfdfd;
    color: #d35400;
    border-bottom: 2px solid #f39c12;
}

/* Hide default title in pane since tabs handle it */
.comp-cat-title {
    display: none;
}

/* Forms */
.section-block {
    margin-bottom: 30px;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 6px;
    background: #fff;
}

.highlight-block {
    background: #f8fcfd;
    border: 1px solid #b8e6f5;
}

.section-title {
    color: #0073aa;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.form-row {
    display: block;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row.two-cols>* {
    flex: 1;
}

.form-row.three-cols>* {
    flex: 1;
}

.form-row.four-cols>* {
    flex: 1;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    gap: 15px;
}

.form-control {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-sep {
    font-weight: bold;
    color: #888;
}

/* Radio Cards (Image Selectors) */
.radio-cards {
    display: flex;
    gap: 15px;
}

.radio-card {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-card .card-content {
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    transition: all 0.2s;
    background: #fff;
}

.radio-card.selected .card-content {
    border-color: #0073aa;
    background: #eef7fb;
    color: #0073aa;
    font-weight: bold;
}

.card-image-placeholder {
    height: 60px;
    background: #eee;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.card-image-placeholder .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
}

/* Preview Box (New) */
.elevator-preview-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

/* Config Mode Toggle (New) */
.config-mode-group {
    background: #f0f7ff;
    padding: 15px;
    border: 1px solid #cce5ff;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.config-mode-group label {
    font-weight: bold;
    color: #0073aa;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.config-mode-group input[type="radio"] {
    width: 20px;
    height: 20px;
}

/* Upgrade List Refinements */
.upgrade-group-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #444;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.upgrade-list {
    display: grid;
    gap: 15px;
    padding-bottom: 15px;
}

.upgrade-list.two-cols {
    grid-template-columns: 1fr 1fr;
}

.upgrade-item {
    background: #fdfdfd;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.upgrade-item.checkbox-item {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.upgrade-item label {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.upgrade-item select,
.upgrade-item input[type="text"],
.upgrade-item input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

.item-price {
    font-size: 0.85rem;
    color: #d63638;
    font-weight: 600;
}

.load-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.load-btn {
    padding: 5px 12px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s;
}

.load-btn:hover {
    background: #e0e0e0;
}

.load-btn.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
    font-weight: bold;
}

/* Elevator Type Visual Tabs */
.type-tab-card {
    background: #fff;
    position: relative;
    /* For checkmark */
    transition: all 0.2s ease-in-out;
}

.type-tab-card:hover {
    border-color: #0073aa !important;
    background: #f9f9fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.type-tab-card.selected {
    border: 2px solid #0073aa !important;
    background: #eef7fb !important;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.2);
}

.type-tab-card.selected strong {
    color: #0073aa !important;
}

/* Checkmark Badge */
.type-tab-card.selected::after {
    content: "\f147";
    /* Dashicon yes */
    font-family: "dashicons";
    position: absolute;
    top: -10px;
    right: -10px;
    background: #0073aa;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .form-row.three-cols {
        flex-wrap: wrap;
    }

    .form-row.three-cols .form-group {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .elevator-type-tabs {
        flex-direction: column;
    }
}

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

    .form-row,
    .elevator-preview-container {
        flex-direction: column;
    }

    .upgrade-list.two-cols {
        grid-template-columns: 1fr;
    }

    .config-mode-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .elevator-tabs {
        flex-wrap: wrap;
    }

    .tab-link {
        flex: 1 1 45%;
        text-align: center;
        border-radius: 4px;
        margin-bottom: 5px;
    }
}

/* --- PRICING TABLE STYLES --- */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border: 1px solid #eee;
}

.pricing-table tr {
    border-bottom: 1px solid #eee;
}

.pricing-table tr:last-child {
    border-bottom: none;
}

.pricing-table td {
    padding: 10px 15px;
    font-size: 0.95rem;
    color: #333;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: #444;
}

.pricing-table .total-row {
    background-color: #f9f9f9;
    font-weight: 700;
    border-top: 2px solid #ddd;
}

.pricing-table .total-row td {
    font-size: 1.1rem;
    color: #d32f2f;
}

.pricing-table .discount-row td {
    color: #27ae60;
}

.pricing-table .vat-row td {
    color: #e67e22;
}

#calculation-results h4 {
    margin-bottom: 20px;
    color: #0073aa;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    display: inline-block;
}

.hidden {
    display: none !important;
}

/* --- INITIAL STATE & CONTAINER STYLES --- */
.price-summary {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #333;
}

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

.price-row span.amount {
    font-weight: 600;
    color: #444;
}

.price-row.total span.amount {
    color: #d32f2f;
    font-size: 1.2rem;
}

.price-row.discount span.amount {
    color: #27ae60;
}

.vat-option {
    padding-top: 20px;
}

.static-note {
    text-align: center;
}

.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
}

.cargo-fixed.btn-user-reset.clear {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: #e74c3c;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 0;
    transition: transform 0.2s;
}

.btn-user-reset.clear:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.selection-card:hover .btn-user-reset.clear[style*="display: flex"],
.selection-card:hover .btn-user-reset.clear[style*="display: block"] {
    display: flex !important;
}

/* Cargo Specs Tabs (New) */
.cargo-fixed-specs {
    margin-bottom: 20px;
    padding: 15px;
    background: #fffcf5;
    border: 1px dashed #f0c36d;
    border-radius: 5px;
}

.cargo-specs-title {
    color: #d35400;
    font-weight: 600;
    margin-bottom: 10px;
}

.cargo-spec-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.cargo-spec-tab,
.cargo-note-tab {
    padding: 8px 15px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    font-weight: 600;
    color: #555;
    background: #eee;
    margin-right: 2px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    transition: background 0.2s, color 0.2s;
    font-size: 0.9em;
}

.cargo-spec-tab:hover,
.cargo-note-tab:hover {
    background: #f9f9f9;
}

.cargo-spec-tab.active,
.cargo-note-tab.active {
    background: #fffcf5;
    border-color: #f0c36d;
    border-bottom-color: #fffcf5;
    color: #d35400;
}

.cargo-spec-content,
.cargo-note-content {
    display: none;
    padding: 10px;
}

.cargo-spec-content.active,
.cargo-note-content.active {
    display: block;
}

.spec-list {
    list-style: square;
    margin-left: 20px;
    font-size: 0.9em;
    color: #333;
}

.spec-list li {
    margin-bottom: 5px;
}

/* Cargo Price Summary (Renamed to avoid conflict) */
.cargo-price-summary {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cargo-price-summary .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #333;
}

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

.cargo-price-summary .price-row span.amount {
    font-weight: 600;
    color: #444;
}

.cargo-price-summary .price-row.total span.amount {
    color: #d32f2f;
    font-size: 1.2rem;
}

/* --- MAINTENANCE TAB STYLES --- */
.maintenance-container {
    max-width: 100%;
    margin: 0 auto;
}

.maint-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 2px solid #ccc;
    font-size: 0.9rem;
}

.maint-table th,
.maint-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

.maint-head-purple th {
    background: #4a142c !important;
    color: #fff !important;
    text-transform: uppercase;
    font-size: 1.2rem;
    padding: 15px !important;
}

.maint-head-blue th {
    background: #005a8c !important;
    color: #fff !important;
    font-size: 0.8rem;
    padding: 8px !important;
    text-transform: uppercase;
}

.maint-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.maint-table tbody td.text-left {
    text-align: left;
    padding-left: 15px;
}

.maint-notes h4 {
    border-bottom: 1px solid #d35400;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.maint-notes ul li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Side-by-Side Summary Layout */
.comp-summary-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: 3px solid #f39c12;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.comp-summary-left {
    flex: 2;
}

.comp-summary-right {
    flex: 1;
    border-left: 1px dashed #ddd;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .comp-summary-wrapper {
        flex-direction: column;
    }

    .comp-summary-right {
        border-left: none;
        border-top: 1px dashed #ddd;
        padding-left: 0;
        padding-top: 20px;
    }
}

/* --- IMAGE SELECTION & PREVIEWS --- */
.image-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.image-preview-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: #fdfdfd;
    text-align: center;
}

.image-preview-card h5 {
    margin: 0 0 10px;
    color: #2c3e50;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.img-preview-container {
    height: 200px;
    background: #eee;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px dashed transparent;
    transition: all 0.3s;
}

.img-preview-container:hover {
    border-color: #0073aa;
}

.img-preview-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.img-preview-container .placeholder-text {
    color: #999;
    font-size: 0.9rem;
}

.img-source-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-upload-img {
    background: #0073aa;
    color: #fff !important;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-reset-img {
    background: #e74c3c;
    color: #fff !important;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

/* --- COMPACT IMAGE UPLOADS (20 Components) --- */
.image-selection-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.image-selection-grid.compact .selection-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.image-selection-grid.compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .image-selection-grid.compact {
        grid-template-columns: 1fr;
    }
}

.image-selection-grid.compact .selection-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.image-selection-grid.compact .selection-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-selection-grid.compact .card-header {
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.image-selection-grid.compact .preview-box {
    height: 120px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px dashed #ccc;
    cursor: pointer;
    transition: border-color 0.2s;
}

.image-selection-grid.compact .preview-box:hover {
    border-color: #0073aa;
    background: #f0f7fa;
}

.image-selection-grid.compact .preview-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-selection-grid.compact .preview-box .placeholder-text {
    font-size: 0.75rem;
    color: #999;
}

.image-selection-grid.compact .card-actions {
    display: flex;
    gap: 5px;
}

.image-selection-grid.compact .btn-user-upload {
    flex: 1;
    background: #0073aa;
    color: #fff;
    border: none;
    font-size: 0.75rem;
    padding: 6px 4px;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.image-selection-grid.compact .btn-user-upload:hover {
    background: #005177;
}

.image-selection-grid.compact .btn-gallery-pick {
    flex: 1;
    background: #2e7d32;
    color: #fff;
    border: none;
    font-size: 0.75rem;
    padding: 6px 4px;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.image-selection-grid.compact .btn-gallery-pick:hover {
    background: #1b5e20;
}

.image-selection-grid.compact .gallery-card {
    border-color: #c8e6c9;
}

.image-selection-grid.compact .gallery-card:hover {
    border-color: #2e7d32;
}

.image-selection-grid.compact .btn-user-reset {
    background: #f1f1f1;
    color: #666;
    border: 1px solid #ccc;
    padding: 6px 8px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.image-selection-grid.compact .btn-user-reset:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.hidden-file-input {
    display: none;
}

/* Custom Error Input Focus Style */
body #elevator-pricing-tool input.input-error-active,
body #elevator-pricing-tool input.input-error-active:focus,
body .elevator-tool-container input.input-error-active,
body .elevator-tool-container input.input-error-active:focus {
    border: 1px solid #d63638 !important;
    outline: 1px solid #d63638 !important;
}

/* Guest Lead CTA Block */
.guest-cta-block {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-top: 30px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.guest-cta-block h3 {
    color: #4a142c;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.guest-cta-block p {
    color: #495057;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#btn-submit-guest-lead {
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#btn-submit-guest-lead:hover {
    background: #a93226;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

#btn-submit-guest-lead:active {
    transform: translateY(1px);
}

#btn-submit-guest-lead:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#guest-lead-msg .alert {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* --- WARNING BLINK BOX (Door < 600mm) --- */
.warning-blink-box {
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid #d63638;
    background: #fff0f0;
    color: #d63638;
    animation: warningBlink 0.6s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(214, 54, 56, 0.4);
}

.warning-blink-box::before {
    content: '⚠️ ';
}

@keyframes warningBlink {
    0%, 100% {
        background: #fff0f0;
        color: #d63638;
        border-color: #d63638;
        box-shadow: 0 0 8px rgba(214, 54, 56, 0.3);
        transform: scale(1);
    }
    50% {
        background: #d63638;
        color: #fff;
        border-color: #ff0000;
        box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
        transform: scale(1.02);
    }
}

/* --- CUSTOMER INPUT VALIDATION STYLES --- */
.cust-input-error {
    border: 2px solid #d63638 !important;
    background: #fff5f5 !important;
    animation: custInputPulse 0.5s ease-in-out 3;
}

.cust-input-valid {
    border: 2px solid #27ae60 !important;
    background: #f0fff4 !important;
}

.cust-field-error-msg {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #d63638;
    margin-top: 2px;
    padding-left: 2px;
    line-height: 1.3;
}

@keyframes custInputPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(214, 54, 56, 0);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(214, 54, 56, 0.3);
    }
}

/* Dot bullet style for config content */
.spec-list-dots {
    list-style: none;
    padding-left: 10px;
}
.spec-list-dots li::before {
    content: '• ';
    color: #1a3c6e;
    font-weight: 700;
    font-size: 1.1em;
}

/* --- CARGO COMMON SPECS (shared grid) --- */
.cargo-common-specs {
    margin-bottom: 12px;
}

.cargo-section-label {
    margin: 0 0 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a3c6e;
    padding: 6px 12px;
    background: #edf2f7;
    border-left: 3px solid #1a3c6e;
    border-radius: 0 4px 4px 0;
}

.cargo-common-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px 0;
}

.cargo-common-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cargo-common-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #555;
}

.cargo-common-field .cargo-cell {
    border: 1px solid #d0d7de;
    background: #fff;
    padding: 6px 10px;
    font-size: 0.9rem;
    color: #333;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.cargo-common-field .cargo-cell:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.12);
}

.cargo-common-field select.cargo-cell {
    cursor: pointer;
    appearance: auto;
    padding: 5px 8px;
}

/* --- CARGO TABLE LAYOUT (Per-elevator specs) --- */
.cargo-table-wrapper {
    overflow-x: auto;
    padding-bottom: 4px;
}

/* Spec cards container: 3 per row */
.cargo-spec-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cargo-card {
    border: 1px solid #d0d7de;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    flex: 0 0 calc(33.333% - 7px);
    max-width: calc(33.333% - 7px);
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.cargo-card:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.1);
}

.cargo-card.cargo-card-unchecked {
    opacity: 0.4;
    background: #f5f5f5;
}

.cargo-card.cargo-card-unchecked .cargo-card-body {
    display: none;
}

/* Card Header */
.cargo-card-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 6px 10px;
    background: linear-gradient(135deg, #1a3c6e 0%, #2a5c9e 100%);
    color: #fff;
    gap: 3px;
}

.cargo-card-check-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
    font-weight: 600;
    font-size: 0.82rem;
    color: #fff;
}

.cargo-card-check-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #4fc3f7;
}

.cargo-card-title {
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
}

.cargo-card-price {
    font-weight: 700;
    font-size: 0.78rem;
    color: #ffeb3b;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.cargo-card-header-right {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}

.cargo-qty-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

.cargo-cell-qty {
    width: 36px;
    padding: 2px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.cargo-cell-qty:focus {
    outline: none;
    border-color: #4fc3f7;
    background: rgba(255,255,255,0.25);
}

.cargo-cell-qty::-webkit-inner-spin-button,
.cargo-cell-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Card Body */
.cargo-card-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 0;
    background: #e8eaed;
}

.cargo-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fff;
    padding: 3px 8px;
}

.cargo-field label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #555;
    margin: 0;
    white-space: nowrap;
    width: 75px;
    flex-shrink: 0;
}

.cargo-field .cargo-cell {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    padding: 3px 6px;
    font-size: 0.8rem;
    color: #333;
    border-radius: 3px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.cargo-field .cargo-cell:hover {
    border-color: #bcc3cd;
}

.cargo-field .cargo-cell:focus {
    border-color: #0073aa;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.12);
}

/* Number inputs */
.cargo-cell[type="number"] {
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.cargo-cell[type="number"]::-webkit-inner-spin-button,
.cargo-cell[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* =============================================================
   COMPREHENSIVE MOBILE RESPONSIVE
   ============================================================= */

/* ---- TABLET (max-width: 768px) ---- */
@media (max-width: 768px) {

    /* Container & Tab Pane */
    .tab-pane {
        padding: 15px;
    }

    .elevator-header {
        padding: 15px 15px 0;
    }

    .elevator-header h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    /* Main Tabs: horizontal scroll */
    .elevator-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 3px;
    }

    .tab-link {
        flex-shrink: 0;
        padding: 10px 14px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Form Rows */
    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-row.three-cols .form-group {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Elevator Type Tabs (visual cards) */
    .elevator-type-tabs {
        flex-direction: column;
        gap: 8px;
    }

    /* Component Tabs */
    .comp-tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 3px;
    }

    .comp-tab-link {
        flex-shrink: 0;
        padding: 8px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    /* Summary Side-by-Side → Stack */
    .comp-summary-wrapper {
        flex-direction: column;
        padding: 15px;
    }

    .comp-summary-right {
        border-left: none;
        border-top: 1px dashed #ddd;
        padding-left: 0;
        padding-top: 15px;
    }

    /* Upgrade list: 1 column */
    .upgrade-list.two-cols {
        grid-template-columns: 1fr;
    }

    /* Upgrade item: stack on mobile */
    .upgrade-item {
        padding: 10px;
    }

    .upgrade-item label {
        font-size: 0.85rem;
    }

    .upgrade-item.checkbox-item {
        flex-wrap: wrap;
    }

    .upgrade-item.checkbox-item label {
        flex: 1;
        min-width: 0;
    }

    /* Steel frame checkbox: stack vertical */
    .upgrade-item.checkbox-item > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 8px !important;
    }

    /* Option repeater rows (like Inox Jamb) */
    .inox-jamb-row,
    div[style*="display: flex"][style*="gap: 10px"] {
        flex-wrap: wrap !important;
    }

    /* Pricing tables: horizontal scroll */
    .tab-pane table,
    table.widefat,
    table[class*="table"] {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.8rem;
    }

    table.widefat th,
    table.widefat td {
        padding: 6px 8px !important;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* Sub tab buttons (Gói Nâng cấp Chung, Thang Inox, Thang Kính) */
    .tab-pane .btn-group,
    .tab-pane div[style*="margin-bottom"] > button,
    .tab-pane .upgrade-sub-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .tab-pane .btn-group .btn,
    .tab-pane button[class*="btn"] {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
        white-space: nowrap;
    }

    /* Option qty wrapper */
    .opt-qty-wrapper {
        width: auto !important;
    }

    /* Glass steel options: wrap */
    .glass-option-repeater {
        overflow-x: auto;
    }

    /* Formula displays */
    #steel-formula-display,
    #glass-formula-display {
        font-size: 0.78rem !important;
        padding: 8px !important;
        word-break: break-word;
    }

    /* Add-class option grid */
    .class-option-repeater {
        overflow-x: auto;
    }

    /* Config Mode */
    .config-mode-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* --- CARGO SECTION --- */

    /* Common Specs Grid: 2 cols on tablet */
    .cargo-common-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Cargo Spec/Note Tabs: scroll ngang */
    .cargo-spec-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cargo-spec-tab,
    .cargo-note-tab {
        flex-shrink: 0;
        font-size: 0.8em;
        padding: 7px 10px;
        white-space: nowrap;
    }

    /* Cargo Spec Cards: 2 cols */
    .cargo-card {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
    }

    .cargo-card-header {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .cargo-card-body {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Image Selection Grid */
    .image-selection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .image-selection-grid.compact {
        grid-template-columns: 1fr;
    }

    /* Maintenance Table: scroll */
    .maintenance-container {
        overflow-x: auto;
    }

    .maint-table {
        min-width: 600px;
    }

    /* Action Buttons */
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-buttons button,
    .action-buttons a {
        width: 100%;
        text-align: center;
    }

    /* Tables: horizontal scroll wrapper */
    .comp-tab-pane,
    .comp-summary-left,
    .comp-summary-right {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comp-table {
        min-width: 500px;
    }

    /* Responsive Card Layout for comp-table */
    .comp-tab-pane .comp-table {
        min-width: unset;
        border: none;
    }

    .comp-tab-pane .comp-table thead {
        display: none;
    }

    .comp-tab-pane .comp-table tbody tr {
        display: block;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 0;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        overflow: hidden;
    }

    .comp-tab-pane .comp-table tbody tr:hover {
        box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    }

    .comp-tab-pane .comp-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 14px;
        border: none;
        border-bottom: 1px solid #f5f5f5;
        text-align: right;
        font-size: 0.9rem;
        color: #444;
        background: #fff;
    }

    .comp-tab-pane .comp-table tbody td:last-child {
        border-bottom: none;
    }

    .comp-tab-pane .comp-table tbody td::before {
        content: attr(data-label);
        font-weight: 500;
        color: #888;
        text-align: left;
        flex-shrink: 0;
        margin-right: 12px;
        font-size: 0.82rem;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    /* Hide STT column on mobile */
    .comp-tab-pane .comp-table tbody td.col-stt {
        display: none;
    }

    /* Name: card header style */
    .comp-tab-pane .comp-table tbody td.col-name {
        font-weight: 700;
        color: #333;
        font-size: 0.95rem;
        background: linear-gradient(135deg, #fdf6ec, #fff9f0);
        border-bottom: 2px solid #f39c12;
        padding: 12px 14px;
    }

    .comp-tab-pane .comp-table tbody td.col-name::before {
        display: none;
    }

    /* Unit: subtle */
    .comp-tab-pane .comp-table tbody td.col-unit {
        color: #888;
        font-size: 0.85rem;
    }

    /* Price: normal */
    .comp-tab-pane .comp-table tbody td.col-price {
        font-weight: 600;
        color: #333;
    }

    /* Total highlight */
    .comp-tab-pane .comp-table tbody td.col-total {
        color: #d63638;
        font-weight: 700;
        font-size: 1rem;
        background: #fff8f8;
        padding: 12px 14px;
    }

    /* Qty input wider on mobile */
    .comp-tab-pane .comp-qty {
        width: 70px !important;
    }

    /* Summary wrapper on mobile */
    .comp-summary-wrapper {
        flex-direction: column;
        padding: 12px;
    }

    .comp-summary-right {
        border-left: none;
        border-top: 1px dashed #ddd;
        padding-left: 0;
        padding-top: 15px;
    }

    /* Checkout on mobile */
    .comp-checkout-grand .comp-checkout-label,
    .comp-checkout-grand .comp-checkout-value {
        font-size: 0.95rem;
    }

    .comp-checkout-text {
        text-align: center;
        font-size: 0.82rem;
    }

    /* Pricing Table */
    .pricing-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    /* Price Summary */
    .price-row,
    .cargo-price-summary .price-row {
        font-size: 0.88rem;
    }

    /* Guest CTA */
    .guest-cta-block {
        padding: 25px 15px;
    }

    .guest-cta-block h3 {
        font-size: 1.4rem;
    }

    .guest-cta-block p {
        font-size: 1rem;
    }

    #btn-submit-guest-lead {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Cargo fixed specs */
    .cargo-fixed-specs {
        padding: 10px;
    }

    .cargo-spec-content,
    .cargo-note-content {
        padding: 8px 5px;
    }

    /* Load Calc Info Box */
    #load-calc-info {
        padding: 12px !important;
    }

    #load-calc-info > div {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
    }

    #load-calc-info input#elevator-load {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Section block */
    .section-block {
        padding: 12px;
    }

    /* Price Summary */
    .price-summary .price-row,
    .cargo-price-summary .price-row {
        flex-wrap: wrap;
        gap: 4px;
    }

    .price-summary .price-row span,
    .cargo-price-summary .price-row span {
        font-size: 0.88rem;
    }

    .big-price {
        font-size: 1.1rem !important;
    }

    /* Price summary overflow */
    .price-summary,
    .cargo-price-summary {
        overflow-x: auto;
    }

    /* Promo code section */
    .promo-code-section {
        padding: 8px !important;
    }

    .promo-code-section .input-group {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    /* Promo countdown */
    #promo-countdown-box > div {
        flex-direction: column !important;
        text-align: center !important;
    }

    /* Cargo table inside notes */
    .cargo-note-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cargo-note-content table td,
    .cargo-note-content table th {
        white-space: nowrap;
        font-size: 0.82rem;
        padding: 6px 8px;
    }
}

/* ---- MOBILE (max-width: 600px) ---- */
@media (max-width: 600px) {

    /* Container */
    .elevator-tool-container {
        border-radius: 0;
        box-shadow: none;
    }

    .elevator-header {
        border-radius: 0;
        padding: 10px 10px 0;
    }

    .tab-pane {
        padding: 12px;
    }

    /* Tab links smaller */
    .tab-link {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    /* Section titles */
    .section-title,
    h3.section-title {
        font-size: 1rem;
    }

    /* Cargo Common Grid: 1 col */
    .cargo-common-grid {
        grid-template-columns: 1fr;
    }

    /* Cargo Spec Cards: 1 col */
    .cargo-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Cargo Card compacted */
    .cargo-card {
        margin-bottom: 8px;
    }

    .cargo-card-body {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    /* Image grid: 1 col */
    .image-selection-grid {
        grid-template-columns: 1fr;
    }

    /* Load buttons: wrap nicely */
    .load-buttons-container {
        gap: 5px;
    }

    .load-btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    /* Form controls */
    .form-control,
    input[type="text"],
    input[type="number"],
    select {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    /* Components wrapper */
    .components-wrapper {
        padding: 10px;
    }

    /* Note/Spec Tabs: smaller */
    .cargo-spec-tab,
    .cargo-note-tab {
        font-size: 0.75em;
        padding: 6px 8px;
    }

    /* Spec list */
    .spec-list {
        margin-left: 10px;
        font-size: 0.85em;
    }

    /* Pricing table compact */
    .pricing-table td {
        padding: 6px 8px;
        font-size: 0.82rem;
    }

    .pricing-table .total-row td {
        font-size: 1rem;
    }

    /* Load calc box even smaller */
    #load-calc-info {
        padding: 10px !important;
        font-size: 0.85rem !important;
    }

    #load-calc-info label {
        white-space: normal !important;
        font-size: 0.85rem !important;
    }

    /* Section block compact */
    .section-block {
        padding: 10px;
    }

    /* Price row: stack on very small */
    .price-summary .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 8px 0;
    }

    .price-summary .price-row span.amount {
        align-self: flex-end;
    }

    /* Price rows */
    .price-row span.label,
    .cargo-price-summary .price-row span:first-child {
        max-width: 55%;
        font-size: 0.85rem;
    }

    /* Timeline table in notes */
    .note-time-table {
        font-size: 0.85em;
    }

    .note-time-table td {
        padding: 6px 8px;
    }
}

/* ---- SMALL MOBILE (max-width: 480px) ---- */
@media (max-width: 480px) {

    .tab-pane {
        padding: 8px;
    }

    .elevator-header h2 {
        font-size: 1rem;
    }

    /* Cargo Card Body: 1 col */
    .cargo-card-body {
        grid-template-columns: 1fr;
    }

    /* Form group labels */
    .form-group label {
        font-size: 0.85rem;
    }

    /* Input group vertical */
    .input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }

    /* Action buttons even more compact */
    .action-buttons button {
        font-size: 0.9rem;
        padding: 10px;
    }

    /* Compact price summary */
    .price-row.total span.amount,
    .cargo-price-summary .price-row.total span.amount {
        font-size: 1rem;
    }

    /* Guest CTA */
    .guest-cta-block h3 {
        font-size: 1.2rem;
    }

    #btn-submit-guest-lead {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Warning box */
    .warning-blink-box {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    /* Cargo section labels */
    .cargo-section-label {
        font-size: 0.9rem;
    }
}