
.byc-builder-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.byc-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
}

.byc-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #ddd;
    margin: 0 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.byc-step.active {
    background: #0073aa;
    color: white;
}

.byc-step-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.byc-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.byc-tier-options, .byc-size-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.byc-tier-option, .byc-size-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.byc-tier-option:hover, .byc-size-option:hover {
    border-color: #0073aa;
    background: #f8f9fa;
}

.byc-tier-option input[type="radio"], .byc-size-option input[type="radio"] {
    margin-right: 10px;
}

.byc-tier-option input[type="radio"]:checked + span,
.byc-size-option input[type="radio"]:checked + span {
    font-weight: bold;
    color: #0073aa;
}

.byc-tier-preview {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.byc-tier-preview h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.byc-tier-customization {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin: 15px 0;
}

.byc-tier-header {
    background: #0073aa;
    color: white;
    padding: 10px 15px;
    margin: -20px -20px 20px -20px;
    border-radius: 5px 5px 0 0;
}

.byc-option-group {
    margin: 15px 0;
}

.byc-option-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.byc-option-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.byc-shared-options .byc-option-group {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
}

.byc-extras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.byc-extra-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
}

.byc-extra-option input[type="checkbox"] {
    margin-right: 10px;
}

.byc-extra-option:hover {
    background: #f5f5f5;
}

.byc-summary {
    background: #fff;
    border: 2px solid #0073aa;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
}

.byc-summary h3 {
    margin: 0 0 15px 0;
    color: #0073aa;
}

#order-summary {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.6;
}

.byc-total {
    font-size: 18px;
    text-align: right;
    padding: 15px 0;
    border-top: 2px solid #0073aa;
}

.byc-step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.byc-prev-btn, .byc-next-btn, .byc-add-to-cart-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.byc-prev-btn {
    background: #666;
    color: white;
}

.byc-prev-btn:hover {
    background: #555;
}

.byc-next-btn, .byc-add-to-cart-btn {
    background: #0073aa;
    color: white;
}

.byc-next-btn:hover, .byc-add-to-cart-btn:hover {
    background: #005a87;
}

.byc-add-to-cart-btn {
    background: #28a745;
}

.byc-add-to-cart-btn:hover {
    background: #218838;
}

#inscription {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.byc-loading {
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 768px) {
    .byc-builder-container {
        padding: 15px;
    }
    
    .byc-progress-bar {
        flex-direction: column;
    }
    
    .byc-step {
        margin: 5px 0;
    }
    
    .byc-tier-options, .byc-size-options {
        grid-template-columns: 1fr;
    }
    
    .byc-step-nav {
        flex-direction: column;
        gap: 10px;
    }
}
