/**
 * Rewaco Configurator Styles
 */

/* Main Container */
#rewaco-configurator {
    display: flex;
    min-height: 800px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #fff;
    border: 1px solid #e0e0e0;
}

/* ===== SIDEBAR ===== */
.configurator-sidebar {
    width: 280px;
    background: #f8f9fa;
    padding: 25px 20px;
    border-right: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.configurator-sidebar h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
}

.step-menu {
    margin-bottom: 30px;
}

.step-menu .step {
    padding: 14px 18px;
    margin-bottom: 6px;
    background: white;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.25s ease;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
}

.step-menu .step:hover {
    background: #e3f2fd;
    color: #1976d2;
}

.step-menu .step.active {
    background: #d32f2f;
    color: white;
    border-left-color: #b71c1c;
    font-weight: 600;
}

.sidebar-summary {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sidebar-summary strong {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#selected-model-name {
    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
    min-height: 20px;
}

#sidebar-price {
    font-size: 28px;
    font-weight: 700;
    color: #d32f2f;
}

.reset-btn {
    width: 100%;
    padding: 12px;
    background: #666;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.reset-btn:hover {
    background: #444;
}

/* ===== MAIN CONTENT ===== */
.configurator-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.step-content h2 {
    margin: 0 0 30px 0;
    font-size: 32px;
    color: #222;
    font-weight: 700;
}

/* ===== PREVIEW AREA ===== */
/* ===== PREVIEW AREA - RESPONSIVE ===== */
.preview-area {
    background: #fafafa;
    padding: 0;
    margin-bottom: 40px;
    border-radius: 8px;
    position: relative;
    height: 500px; /* Desktop default */
    overflow: hidden;
}

/* Preview Container - Layer sistemi */
.preview-container {
    position: relative;
    width: 100%;
    height: 100%; /* Parent'ın tam boyutu */
}

/* Arkaplan resmi (a11.png) - en alta */
.preview-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.preview-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Araç resmi (API'den base64) - üstte */
.preview-vehicle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
    pointer-events: none;
}

.preview-vehicle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* View butonları - en üstte sağda */
.view-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 30;
    display: flex;
    gap: 8px;
    padding: 10px;
}

.view-btn {
    padding: 10px 20px;
    background: #000;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.view-btn:hover {
    background: #333;
}

.view-btn.active {
    background: #e74c3c;
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1024px) {
    .preview-area {
        height: 400px; /* Tablet: Biraz küçük */
    }
    
    .view-controls {
        gap: 5px;
        padding: 5px;
    }
    
    .view-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
    .preview-area {
        height: 300px; /* Mobile: Daha küçük */
        margin-bottom: 20px;
    }
    
    .view-controls {
        top: 5px;
        right: 5px;
        flex-direction: column; /* Dikey sırala */
        gap: 3px;
    }
    
    .view-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* ===== RESPONSIVE - VERY SMALL MOBILE ===== */
@media (max-width: 480px) {
    .preview-area {
        height: 250px; /* Çok küçük ekran */
    }
    
    .view-btn {
        padding: 5px 10px;
        font-size: 10px;
    }
}
/* ===== MODELS ===== */
.model-group {
    margin-bottom: 50px;
}

.model-group-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-new {
    background: #4caf50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.model-variants {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.model-variant {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.model-variant:hover {
    border-color: #d32f2f;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(211, 47, 47, 0.15);
}

.model-variant.selected {
    border-color: #d32f2f;
    background: #fff5f5;
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.2);
}

.model-variant img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.model-variant-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.btn-continue-equipment,
.btn-continue-color-tab,
.btn-continue-header {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 30px;
    transition: all 0.3s;
    position: relative;
    z-index: 100;
    display: inline-block;
}

.btn-continue-equipment:hover,
.btn-continue-color-tab:hover,
.btn-continue-header:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.3);
}

/* ===== EQUIPMENT & ENGINES ===== */
.equipment-option,
.engine-option {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.equipment-option:hover,
.engine-option:hover {
    border-color: #d32f2f;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
}

.equipment-option.selected,
.engine-option.selected {
    border-color: #d32f2f;
    background: #fff5f5;
}

.equipment-card h3,
.engine-card h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
}

.equipment-card p,
.engine-card p {
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.equipment-price,
.engine-price {
    font-size: 18px;
    font-weight: 700;
    color: #d32f2f;
}

/* ===== NEW ENGINE CARDS GRID ===== */
.engines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.engine-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.engine-card:hover {
    border-color: #d32f2f;
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.15);
    transform: translateY(-3px);
}

.engine-card.selected {
    border-color: #d32f2f;
    background: #fff5f5;
    box-shadow: 0 8px 24px rgba(211, 47, 47, 0.25);
}

.engine-image {
    width: 100%;
    height: 220px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.engine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.engine-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    flex: 1;
}

.engine-info-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    cursor: help;
    margin-left: 10px;
}

.engine-specs {
    padding: 15px 20px;
    flex: 1;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
}

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

.spec-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    flex: 1;
}

.spec-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
    margin-left: 15px;
}

.engine-price {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 2px solid #e0e0e0;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #d32f2f;
}

/* Responsive */
@media (max-width: 768px) {
    .engines-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .engine-image {
        height: 180px;
    }

    .engine-header h4 {
        font-size: 16px;
    }

    .spec-label,
    .spec-value {
        font-size: 12px;
    }

    .engine-price {
        font-size: 20px;
    }
}

/* ===== COLORS ===== */
.color-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.color-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
    margin-bottom: -2px;
}

.color-tab:hover {
    color: #d32f2f;
}

.color-tab.active {
    color: #d32f2f;
    border-bottom-color: #d32f2f;
}

.tab-pane {
    display: none;
}

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

.tab-pane h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #555;
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.color-option {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.color-option:hover {
    border-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
}

.color-option.selected {
    border-color: #d32f2f;
    background: #fff5f5;
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.2);
}

.color-thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.color-info {
    padding: 8px 0;
}

.color-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.color-price {
    font-size: 13px;
    color: #666;
}

/* ===== LOADING & ERRORS ===== */
.loading {
    padding: 40px;
    text-align: center;
    color: #999;
    font-style: italic;
    font-size: 16px;
}

.error {
    background: #ffebee;
    color: #c62828;
    padding: 15px 20px;
    border-radius: 6px;
    border-left: 4px solid #c62828;
    margin: 20px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    #rewaco-configurator {
        flex-direction: column;
    }
    
    .configurator-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .step-menu {
        display: flex;
        overflow-x: auto;
        gap: 8px;
    }
    
    .step-menu .step {
        white-space: nowrap;
        margin-bottom: 0;
    }
}

/* Lacquer Decor Styles */
.lacquer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    padding: 20px 0;
}

.lacquer-none .no-lacquer-box {
    width: 100%;
    height: 80px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lacquer-none .diagonal-line {
    width: 60px;
    height: 60px;
}

.lacquer-none.selected .no-lacquer-box {
    border-color: #1976d2;
    background: #e3f2fd;
}

.lacquer-none .color-name {
    font-weight: 600;
    font-size: 11px;
    margin-top: 8px;
}

/* ===== COLOR MODEL SELECTION (Exclusive Line) ===== */
.color-model-selection {
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

/* CRITICAL: Color model seçim ekranı varken tab'ları gizle */
.color-model-selection ~ .color-tabs,
.color-model-selection ~ .tab-pane {
    display: none !important;
}

.color-model-selection h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
}

.color-model-selection > p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.color-model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.color-model-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.color-model-card:hover {
    border-color: #1976d2;
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.2);
    transform: translateY(-4px);
}

.color-model-card .model-preview {
    width: 100%;
    height: 180px;
    background: #fafafa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.color-model-card .model-preview img {
    max-width: 95%;
    max-height: 160px;
    object-fit: contain;
}

.color-model-card h4 {
    font-size: 19px;
    color: #333;
    margin: 15px 0 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.color-model-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    min-height: 42px;
}

.color-model-card .model-price {
    font-size: 16px;
    color: #1976d2;
    font-weight: 600;
    margin-bottom: 15px;
}

.color-model-card .btn-select-model {
    background: #1976d2;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
    max-width: 200px;
}

.color-model-card:hover .btn-select-model {
    background: #1565c0;
    transform: scale(1.05);
}

.color-model-card .btn-select-model:active {
    transform: scale(0.98);
}


/* Single Color - Category Price */
.category-price {
    font-size: 14px;
    color: #e74c3c;
    font-weight: 600;
    margin: 5px 0 15px 0;
    padding: 0;
}

.colors-section h3 {
    margin-bottom: 5px;
}


/* Exterieur Section Styles */
.exterieur-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.exterieur-option {
    flex: 1;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.exterieur-option.selected {
    border-color: #e74c3c;
    background: #fff5f5;
}

.exterieur-option.selected::after {
    content: 'Selected';
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.exterieur-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.exterieur-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.black-line-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.black-line-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.black-line-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.black-line-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin-top: 15px;
}

.exterieur-price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
    margin: 20px 0;
    text-align: right;
}

.btn-select-exterieur {
    width: 100%;
    padding: 12px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-select-exterieur:hover {
    background: #e74c3c;
}

.exterieur-option.selected .btn-select-exterieur {
    background: #e74c3c;
}

/* VA Polished için özel stil */
.exterieur-option[data-code="va-polished"] .exterieur-price {
    color: #27ae60;
}

/* RIMS/WHEELS STYLES */

.rims-container {
    padding: 20px 0;
}

.rim-group {
    margin-bottom: 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.rim-group-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.rim-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rim-option:last-child {
    border-bottom: none;
}

.rim-option:hover {
    background: #f8f9fa;
}

.rim-option.selected {
    background: #fff5f5;
    border-left: 4px solid #e74c3c;
}

.rim-image {
    flex: 0 0 150px;
    margin-right: 30px;
}

.rim-image img {
    width: 100%;
    height: auto;
    display: block;
}

.rim-details {
    flex: 1;
    padding-right: 20px;
}

.rim-details h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.rim-details p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.rim-action {
    flex: 0 0 200px;
    text-align: center;
}

.btn-select-rim,
.btn-rim-selected {
    display: block;
    width: 120px;
    margin: 0 auto 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-select-rim {
    background: #e74c3c;
    color: white;
}

.btn-select-rim:hover {
    background: #c0392b;
}

.btn-rim-selected {
    background: #95a5a6;
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.rim-price {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.rim-price:before {
    content: '';
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rim-option {
        flex-direction: column;
        text-align: center;
    }
    
    .rim-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .rim-details {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .rim-action {
        flex: none;
        width: 100%;
    }
}


/* ============ FURTHER OPTIONS STYLES ============ */

.options-container {
    padding: 20px 0;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.option-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.option-card.selected {
    border-color: #27ae60;
    background: #f0f9f4;
}

.option-card.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.option-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.option-content {
    padding: 15px;
    flex: 1;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.option-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    color: #2c3e50;
}

.option-header h3 sup {
    color: #e74c3c;
    font-size: 10px;
    margin-left: 2px;
}

.info-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 8px;
    cursor: help;
}

.option-footer {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}

.btn-option-select,
.btn-option-deselect {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.btn-option-select {
    background: #e74c3c;
    color: white;
}

.btn-option-select:hover:not(:disabled) {
    background: #c0392b;
}

.btn-option-select:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-option-deselect {
    background: #95a5a6;
    color: white;
}

.btn-option-deselect:hover {
    background: #7f8c8d;
}

.option-status {
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.option-status.included {
    background: #27ae60;
    color: white;
}

.option-price {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.options-note {
    text-align: center;
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
    margin-top: 20px;
    padding: 0 20px;
}

/* Special styles for long option names */
.option-card[data-code="x28"] h3,
.option-card[data-code="x29"] h3,
.option-card[data-code="x27"] h3,
.option-card[data-code="x4"] h3 {
    font-size: 13px;
}

.option-card[data-code="x201"] h3 {
    font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .options-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .option-image {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .option-card {
        margin: 0 10px;
    }
}



/* ============ HANDLEBARS STYLES ============ */

.handlebars-container {
    padding: 20px 0;
}

.handlebars-table {
    width: 100%;
    background: #fff;
    border-collapse: separate;
    border-spacing: 0;
}

.handlebar-row {
    border: 1px solid #e0e0e0;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.handlebar-row:hover {
    background: #f8f9fa;
}

.handlebar-row.selected {
    background: #f0f9f4;
    border-color: #27ae60;
}

.handlebar-row td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e0e0e0;
}

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

/* Image column */
.handlebar-image-cell {
    width: 150px;
    text-align: center;
}

.handlebar-image-cell img {
    max-width: 120px;
    height: auto;
}

/* Info column */
.handlebar-info-cell {
    padding-left: 20px;
}

.handlebar-info-cell b {
    font-size: 16px;
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}

.handlebar-desc {
    font-size: 14px;
    color: #7f8c8d;
}

/* Action column */
.handlebar-action-cell {
    width: 200px;
    text-align: right;
    padding-right: 20px;
}

.btn-select-handlebar,
.btn-handlebar-selected {
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    margin-bottom: 10px;
}

.btn-select-handlebar {
    background: #e74c3c;
    color: white;
}

.btn-select-handlebar:hover {
    background: #c0392b;
}

.btn-handlebar-selected {
    background: #95a5a6;
    color: white;
    cursor: not-allowed;
}

.handlebar-price {
    font-size: 16px;
    color: #2c3e50;
    margin-top: 5px;
}

.handlebar-price b {
    font-weight: 700;
}

/* Continue button at bottom */
.handlebars-continue {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.btn-continue-handlebars {
    background: #e74c3c;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-continue-handlebars:hover {
    background: #c0392b;
}

.btn-continue-handlebars:before {
    content: '▶';
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .handlebar-image-cell {
        width: 100px;
    }
    
    .handlebar-image-cell img {
        max-width: 80px;
    }
    
    .handlebar-action-cell {
        width: 150px;
    }
    
    .handlebar-info-cell b {
        font-size: 14px;
    }
    
    .handlebar-row td {
        padding: 12px 10px;
    }
}

@media (max-width: 576px) {
    .handlebars-table {
        display: block;
    }
    
    .handlebar-row {
        display: block;
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .handlebar-row td {
        display: block;
        width: 100% !important;
        text-align: center !important;
        padding: 10px !important;
        border: none;
    }
    
    .handlebar-image-cell img {
        max-width: 100px;
    }
    
    .handlebar-info-cell {
        padding: 10px 20px !important;
        text-align: left !important;
    }
    
    .handlebar-action-cell {
        padding: 10px 20px !important;
    }
}
/* ============================================
   CONFIGURATION SUMMARY PAGE
   ============================================ */

.configuration-summary {
    padding: 20px;
}

.configuration-summary h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #c41e3a;
}

/* Warning Box */
.config-warnings {
    margin-bottom: 30px;
}

.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
}

.warning-box h3 {
    color: #856404;
    margin-bottom: 10px;
    font-size: 20px;
}

.warning-box p {
    color: #856404;
    margin-bottom: 10px;
}

.warning-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.warning-box li {
    margin: 5px 0;
}

.goto-step {
    color: #c41e3a;
    text-decoration: none;
    font-weight: 600;
}

.goto-step:hover {
    text-decoration: underline;
}

/* Layout */
.config-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

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

/* Left Column - Selections */
.config-left {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.config-section {
    margin-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.config-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.btn-edit-step {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-edit-step:hover {
    background: #c41e3a;
    color: #fff;
    border-color: #c41e3a;
}

.section-content {
    padding-left: 10px;
}

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

.config-item.extra-item {
    display: block;
}

.item-label {
    color: #666;
    font-weight: 500;
}

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

.item-value.missing,
.missing {
    color: #999;
    font-style: italic;
}

/* Right Column - Price & Form */
.config-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Price Calculation Box */
.price-calculation-box {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.price-calculation-box h3 {
    font-size: 20px;
    color: #c41e3a;
    margin-bottom: 20px;
    border-bottom: 2px solid #c41e3a;
    padding-bottom: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

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

.price-label {
    color: #666;
    font-size: 14px;
}

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

.subtotal-row {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #ddd !important;
    border-bottom: 2px solid #ddd !important;
}

.subtotal-row .price-label,
.subtotal-row .price-value {
    font-size: 16px;
    font-weight: 700;
}

/* Tax Section */
.tax-section {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #c41e3a;
}

.tax-header {
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 10px;
    font-size: 15px;
}

.tax-row {
    border-bottom: 1px dashed #ddd;
}

.tax-row .price-label {
    font-size: 13px;
    color: #555;
}

.tax-row .price-value {
    color: #c41e3a;
}

/* Total Price */
.total-row {
    margin-top: 15px;
    padding: 15px 0 !important;
    background: transparent;
    border-radius: 8px;
    padding: 15px !important;
    border: 2px solid #c41e3a !important;
}

.total-row .price-label,
.total-row .price-value,
.total-row .summary-label,
.total-row .summary-total {
    color: #c41e3a !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

.tax-note {
    font-size: 11px;
    color: #999;
    font-style: italic;
    margin-top: 10px;
}

/* Request Form Box */
.request-form-box {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.request-form-box h3 {
    font-size: 20px;
    color: #c41e3a;
    margin-bottom: 20px;
    border-bottom: 2px solid #c41e3a;
    padding-bottom: 10px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c41e3a;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-generate-pdf {
    flex: 1;
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-generate-pdf:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-submit-quote {
    flex: 2;
    background: #c41e3a;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit-quote:hover {
    background: #a01829;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .configuration-summary {
        padding: 15px;
    }
    
    .config-layout {
        grid-template-columns: 1fr;
    }
    
    .config-left,
    .price-calculation-box,
    .request-form-box {
        padding: 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .btn-edit-step {
        width: 100%;
    }
    
    .price-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-generate-pdf,
    .btn-submit-quote {
        width: 100%;
    }
}

/* ============================================
   COLOR MODEL SELECTION
   ============================================ */

.color-model-option {
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.color-model-option:hover {
    border-color: #c8102e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.15);
}

.color-model-option.selected {
    border-color: #c8102e;
    background: #fff5f5;
    box-shadow: 0 4px 16px rgba(200, 16, 46, 0.25);
}

.color-model-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.color-model-price {
    color: #c8102e;
    font-weight: 600;
    font-size: 14px;
}

.color-model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
/* ===== RIMS GRID ===== */
.rims-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.rim-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.rim-option:hover {
    border-color: #e53935;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.rim-option.selected {
    border-color: #e53935;
    background: #ffebee;
}

.rim-option img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.rim-option h4 {
    margin: 10px 0 5px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    min-height: 40px;
}

.rim-option p {
    font-size: 12px;
    color: #666;
    margin: 5px 0;
    line-height: 1.4;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.rim-price {
    font-weight: bold;
    color: #e53935;
    margin-top: auto;
    padding-top: 10px;
    font-size: 18px;
}

/* ===== HANDLEBARS GRID ===== */
.handlebars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.handlebar-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.handlebar-option:hover {
    border-color: #e53935;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.handlebar-option.selected {
    border-color: #e53935;
    background: #ffebee;
}

.handlebar-option img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.handlebar-option h4 {
    margin: 10px 0 5px;
    font-size: 16px;
    color: #333;
}

.handlebar-price {
    font-weight: bold;
    color: #e53935;
    margin-top: 10px;
}

/* ===== EXTERIORS GRID ===== */
.exteriors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.exterior-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.exterior-option:hover {
    border-color: #e53935;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.exterior-option.selected {
    border-color: #e53935;
    background: #ffebee;
}

.exterior-option img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 10px;
}

.exterior-option h4 {
    margin: 10px 0 5px;
    font-size: 16px;
    color: #333;
}

.exterior-price {
    font-weight: bold;
    color: #e53935;
    margin-top: 10px;
}

/* ===== EXTRAS LIST ===== */
.extras-list {
    max-width: 800px;
}

.extras-list > p {
    margin-bottom: 20px;
    color: #666;
}

.extra-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.extra-option:has(input:checked) {
    border-color: #e53935;
    background: #ffebee;
}

.extra-option label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    margin: 0;
}

.extra-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.extra-option img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.extra-info {
    flex: 1;
}

.extra-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.extra-info p {
    margin: 0 0 5px;
    font-size: 14px;
    color: #666;
}

.extra-price {
    font-weight: bold;
    color: #e53935;
}

/* ===== SUMMARY ===== */
.config-summary {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
}

.config-summary p {
    margin: 15px 0;
    font-size: 16px;
}

.config-summary .total-price {
    font-size: 24px;
    color: #e53935;
    border-top: 2px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}


/* ===== CONSTRAINT SYSTEM ===== */
.extra-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.extra-option.disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.extra-option.disabled label {
    cursor: not-allowed;
}

.constraint-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-top: 10px;
    display: block;
}

.extra-status.included {
    background: #4caf50;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.extra-option.selected {
    border: 2px solid #4caf50;
    background: #f1f8f4;
}

.options-note {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 14px;
}

/* Renk tab devam butonları */
.btn-continue-color-tab {
    margin-top: 30px;
    width: 100%;
    max-width: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Disabled step styling */
.step-menu .step.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* ============================================
   JANT RENK SEÇİMİ
   ============================================ */

/* Renk seçim butonu */
.rim-color-selector {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.btn-choose-rim-color {
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-choose-rim-color:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-choose-rim-color .color-icon {
    font-size: 16px;
}

/* Modal overlay */
.rim-color-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal */
.rim-color-modal {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

/* Modal header */
.rim-color-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rim-color-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.rim-color-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.rim-color-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

/* Modal body */
.rim-color-modal-body {
    padding: 25px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

/* Renk grid */
.rim-colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

/* Renk seçeneği */
.rim-color-option {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.rim-color-option:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rim-color-option.selected {
    border-color: #4caf50;
    background: #f1f8f4;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Renk preview */
.rim-color-preview {
    width: 100%;
    height: 80px;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.rim-color-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Renk adı */
.rim-color-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

/* Seçili badge */
.rim-color-selected-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #4caf50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .rim-colors-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .rim-color-preview {
        height: 60px;
    }
    
    .rim-color-name {
        font-size: 12px;
    }
}

/* ============================================
   JANT RENK SEÇİCİ
   ============================================ */

.rim-color-picker {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.rim-color-picker h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.rim-color-option {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
}

.rim-color-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rim-color-option.selected {
    border-color: #2196F3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.rim-color-option.selected::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    background: #2196F3;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.btn-rim-color-picker {
    margin-top: 10px;
    width: 100%;
    padding: 10px 15px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-rim-color-picker:hover {
    background: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.btn-close-color-picker {
    margin-top: 20px;
    padding: 12px 24px;
    background: #666;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-close-color-picker:hover {
    background: #444;
}

@media (max-width: 768px) {
    .rim-color-picker {
        padding: 15px;
    }

    .btn-rim-color-picker {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* ===== CONFIGURATION SUMMARY PAGE ===== */
.rewaco-summary-container {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    font-family: Arial, sans-serif;
}

.summary-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: #333;
    text-transform: uppercase;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ddd;
}

.model-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.model-price {
    font-size: 24px;
    font-weight: 700;
    color: #d32f2f;
}

.summary-section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 0 15px 0;
    color: #333;
    text-transform: uppercase;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.section-content {
    font-size: 14px;
    color: #555;
}

.section-content p {
    margin: 5px 0;
}

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

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

.summary-label {
    font-weight: 600;
    color: #666;
    min-width: 180px;
}

.summary-value {
    flex: 1;
    color: #333;
}

.summary-status {
    font-size: 12px;
    color: #888;
    font-style: italic;
}

.summary-price {
    font-weight: 600;
    color: #d32f2f;
}

.price-section {
    background: #fafafa;
    border: 2px solid #d32f2f;
}

.total-row {
    font-size: 16px;
    font-weight: 700;
    padding: 15px 0;
}

.summary-total {
    font-size: 20px;
    font-weight: 700;
    color: #d32f2f;
}

.btn-download-pdf {
    background: #d32f2f;
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-download-pdf:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.btn-download-pdf:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

/* ===== DEFAULT FEATURES SECTION ===== */
.default-features-section {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.default-features-section .section-title {
    background: #e3f2fd;
    color: #1976d2;
}

.default-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.default-features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.default-features-list li:last-child {
    border-bottom: none;
}

.default-features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 14px;
}

@media (max-width: 768px) {
    .rewaco-summary-container {
        padding: 20px;
    }

    .summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .model-price {
        font-size: 20px;
    }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .summary-label {
        min-width: auto;
    }

    .default-features-list li {
        font-size: 12px;
    }
}
