  /* Form container with improved styling */
    .form-container {
        max-width: 800px;
        margin: 2rem auto 4rem;
        padding: 2.5rem;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }

    /* Page title styling */
    .form-container h2 {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 2rem;
        color: #333;
        position: relative;
        padding-bottom: 15px;
    }

    .form-container h2:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, rgb(255, 115, 0), rgb(255, 141, 47));
        border-radius: 2px;
    }

    /* Form sections with component grouping */
    .form-section {
        margin-bottom: 2rem;
        padding: 1.5rem;
        border-radius: 8px;
        background-color: #f9f9f9;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .form-section:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        /* transform: translateY(-2px); */
    }

    .form-section h3 {
        margin-top: 0;
        color: #333;
        font-size: 1.25rem;
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
    }

    .form-section:last-child {
        border-bottom: none;
    }

    /* Label styling */
    .form-container label {
        font-weight: 600;
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
        display: block;
        color: #444;
        font-size: 1rem;
    }

    /* Component icons - improved */
    .component-icon {
        width: 24px;
        height: 24px;
        margin-right: 10px;
        vertical-align: middle;
        display: inline-block;
        filter: grayscale(0.5);
        transition: filter 0.3s ease;
    }

    .form-section:hover .component-icon {
        filter: grayscale(0);
    }

    /* Help text */
    .help-text {
        color: #666;
        font-size: 0.85rem;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    /* Select and input field styling */
    .form-container select,
    .form-container input[type="text"] {
        width: 100%;
        padding: 12px 15px;
        border-radius: 8px;
        border: 1px solid #ddd;
        margin-top: 0.5rem;
        transition: all 0.3s ease;
        font-size: 0.95rem;
        background-color: #f9f9f9;
    }

    .form-container select:focus,
    .form-container input[type="text"]:focus {
        border-color: rgb(255, 115, 0);
        box-shadow: 0 0 0 3px rgba(255, 115, 0, 0.1);
        outline: none;
        background-color: #fff;
    }

    /* Submit button styling */
    .submit-button {
        background: linear-gradient(to right, rgb(255, 115, 0), rgb(255, 141, 47));
        color: white;
        border: none;
        padding: 14px 24px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 8px;
        cursor: pointer;
        width: 100%;
        margin-top: 2.5rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(255, 115, 0, 0.2);
    }

    .submit-button:hover {
        background: linear-gradient(to right, rgb(255, 95, 0), rgb(255, 121, 27));
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(255, 115, 0, 0.3);
    }

    .submit-button:active {
        transform: translateY(1px);
        box-shadow: 0 2px 8px rgba(255, 115, 0, 0.2);
    }

    /* Progress indicator */
    .build-progress {
        margin-bottom: 2rem;
        padding: 0;
        list-style: none;
        display: flex;
        justify-content: space-between;
        position: relative;
    }

    .build-progress:before {
        content: '';
        position: absolute;
        top: 25px;
        left: 5%;
        right: 5%;
        height: 4px;
        background: #ddd;
        z-index: 0;
    }

    .progress-step {
        position: relative;
        z-index: 1;
        width: 50px;
        text-align: center;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        background: #fff;
        border: 3px solid #ddd;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 8px;
        transition: all 0.3s ease;
    }

    .step-icon img {
        width: 24px;
        height: 24px;
        opacity: 0.5;
        transition: all 0.3s ease;
    }

    .step-label {
        font-size: 0.75rem;
        color: #777;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .progress-step.active .step-icon {
        border-color: rgb(255, 115, 0);
        box-shadow: 0 0 0 3px rgba(255, 115, 0, 0.2);
    }

    .progress-step.active .step-icon img {
        opacity: 1;
    }

    .progress-step.active .step-label {
        color: rgb(255, 115, 0);
    }

    .progress-step.completed .step-icon {
        background: rgb(255, 115, 0);
        border-color: rgb(255, 115, 0);
    }

    .progress-step.completed .step-icon img {
        filter: brightness(0) invert(1);
        opacity: 1;
    }

    /* Compatibility info styling */
    .compatibility-info {
        background-color: #f0f8ff;
        border-left: 4px solid #4a90e2;
        padding: 1rem;
        margin: 1.5rem 0;
        border-radius: 6px;
        font-size: 0.9rem;
        color: #2c3e50;
    }

    .compatibility-issue {
        background-color: #fff6f6;
        border-left: 4px solid #e74c3c;
    }

    .compatibility-success {
        background-color: #f6fff6;
        border-left: 4px solid #2ecc71;
    }

    /* Error box styling */
    .error-box {
        background-color: #fff8f8;
        padding: 1.25rem;
        border-left: 4px solid #d9534f;
        border-radius: 6px;
        margin-bottom: 1.5rem;
        color: #d9534f;
        font-size: 0.95rem;
    }

    .error-box a {
        color: #c9302c;
        text-decoration: underline;
        font-weight: 600;
    }

    .error-box a:hover {
        color: #a82824;
    }

    /* Price summary section */
    .price-summary {
        background: linear-gradient(to right, rgba(255, 115, 0, 0.05), rgba(255, 141, 47, 0.05));
        border-radius: 8px;
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .price-summary h3 {
        color: rgb(255, 115, 0);
        margin-top: 0;
        font-size: 1.25rem;
    }

    .price-table {
        width: 100%;
        border-collapse: collapse;
    }

    .price-table th, 
    .price-table td {
        padding: 8px 12px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 115, 0, 0.1);
    }

    .price-table th {
        font-weight: 600;
        color: #555;
    }

    .total-row {
        font-weight: 700;
        color: rgb(255, 115, 0);
    }

    /* Choices.js custom styling */
    .choices {
        margin-bottom: 1.5rem;
        overflow: visible !important; 
    }

    .choices__inner {
        width: 100% !important;
        box-sizing: border-box !important;
        padding-right: 30px !important; /* Ensure space for the dropdown arrow */
        overflow: visible !important;
    }

    .is-focused .choices__inner {
        border-color: rgb(255, 115, 0);
        box-shadow: 0 0 0 3px rgba(255, 115, 0, 0.1);
    }

    .choices__list--dropdown {
        position: absolute !important; /* Force absolute positioning */
        overflow: visible !important;
        position: absolute;
        border-radius: 8px;
        border-color: #eee;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        z-index: 999 !important; 
    }

    .choices__list--dropdown .choices__item--selectable.is-highlighted {
        background-color: rgba(255, 115, 0, 0.1);
        color: rgb(255, 115, 0);
    }

    .choices__list--dropdown .choices__item--selectable {
        padding: 10px 12px;
    }

    .choices__list--dropdown.is-active {
        z-index: 9999 !important; 
    }
    /* Build name field styling */
    .build-name-field {
        margin-bottom: 2rem;
    }

    .build-name-input {
        font-size: 1.1rem !important;
        padding: 15px !important;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .form-container {
            padding: 1.5rem;
            margin: 1rem auto 3rem;
            z-index: auto;  
        }
        
        .form-container h2 {
            font-size: 1.75rem;
        }
        
        .submit-button {
            padding: 12px 20px;
            font-size: 1rem;
        }
        
        .build-progress {
            overflow-x: auto;
            padding-bottom: 15px;
        }
        
        .build-progress:before {
            left: 0;
            right: 0;
        }
    }
