.product-filter-container {
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 20px;
}
.product-filter-container aside {
    flex: 1;
    max-width: 100%;
}
.product-filter-container section {
    flex: 3;
}

/* Filter Section */
.filter-section {
    background: #f8f9fa;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.filter-section h1 {
    color: #0056a6;
    font-size: 2.5rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.intro-text {
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Diameter Filter */
.diameter-filter h3 {
    color: #0056a6;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.slider-inputs {
    margin-bottom: 10px;
}

.input-group {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.input-group label {
    display: inline-block;
    flex: 1;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    align-content: center;
}

.input-group input[type="number"] {
    flex: 2;
    align-content: center;
    text-align: center;
    padding: 10px;
    border: 2px solid #ddd;
    color: #e41e26;
    font-weight: bold;
    font-size: 1.1rem;
    transition: border-color 0.3s;
    margin: 5px;
    border-radius: 20px;
}

.input-group input[type="number"]:focus {
    outline: none;
    border-color: #0056a6;
}

/* Slider Widget */
.slider-widget {
    margin: 30px 0;
    height: 10px;
}

.noUi-connect {
    background: #0056a6;
}

.noUi-handle {
    background: #0056a6;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.noUi-tooltip {
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #e41e26;
    color: white;
    width: 100%;
    border-radius: 20px;
}

.btn-primary:hover {
    background: #c41920;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 30, 38, 0.3);
}

.btn-secondary {
    background: #0056a6;
    color: white;
    margin-right: 10px;
}

.btn-secondary:hover {
    background: #004080;
}

/* Results Section */
.results-section {
    margin-bottom: 40px;
}

.table-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}

/* Table */
.table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.products-table thead {
    color: white;
}
.products-table thead tr:nth-child(1) {
    background: #D7E2EF;
    color: black;
}
.products-table thead tr:nth-child(2) {
    color: black;
}

.products-table thead tr:nth-child(1) th {
    font-weight: 400;
}

.products-table thead tr:nth-child(2) th {
    font-weight: 600;
    white-space: break-spaces;
    vertical-align: baseline;
}

.products-table thead tr:nth-child(2) th:nth-child(1) {
    color: white;
    font-size: 0px;
    border: 0;
}

.products-table tr:nth-child(2) {
    background: white;
    color: black;
}

.products-table tr:nth-child(1) th:nth-child(1) {
    background: white;
    border: 0;
}

.products-table td, .products-table th {
    border: 1px solid lightgrey;
}

.products-table td:nth-child(1) {
    padding-bottom: 0;
}

.products-table tr:nth-child(odd) td:nth-child(1) {
    background: #D23A36;
}

.products-table tr:nth-child(even) td:nth-child(1) {
    background: #F4D4D6;
}

.products-table th {
    padding: 7px 8px;
    text-align: left;
    white-space: nowrap;
}

.products-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s;
}

.products-table tbody tr:nth-child(odd) {
    background: #EBF1F6;
}

.products-table tbody tr:hover {
    background: #f5f5f5;
}

.products-table td {
    padding: 6px 7px;
    text-align: left;
}

.products-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.note {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Quote Section */
.quote-section {
    background: white;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid darkgrey;
}

.quote-section h2 {
    color: #0056a6;
    font-size: 2rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.quote-section > p {
    color: #666;
    margin-bottom: 30px;
}

/* Form Styles */
.form-group {
    margin-bottom: 0px;
}
.form-group p {
    margin: 0 !important;
}

.form-group label {
    display: block;
    /* font-weight: 600; */
    padding-top: 10px;
    padding-left: 13px;
    margin-bottom: 8px;
    color: #333;
}
.form-group label.input {
    visibility: hidden;
    display: none;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 0;
    border-bottom: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

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

.form-group input[type="file"] {
    padding: 8px 15px;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
}

.btn-submit {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-filter-container section {
        display: none;
    }   

    .slider-inputs {
        flex-direction: column;
        gap: 20px;
    }
    
    .table-wrapper {
        font-size: 0.85rem;
    }
    
    .products-table th,
    .products-table td {
        padding: 8px 6px;
    }
    
    .quote-section {
        padding: 20px;
    }
    
    .table-actions {
        flex-direction: column;
    }
    
    .btn-secondary {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .filter-section h1 {
        font-size: 2rem;
    }
    
    .products-table {
        font-size: 0.75rem;
    }
} 