/* fiyatlar.css */

.price-page-content {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.price-section h1 {
    color: #FAB403; /* Sarı başlık */
    font-size: 3em;
    margin-bottom: 40px;
    font-weight: 700;
}

.filters-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.filter-group label {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.1em;
    font-weight: 500;
}

.filter-group select {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #FAB403;
    background-color: #3a3b3f; /* Koyu arka plan */
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    min-width: 200px;
}

.filter-group select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(250, 180, 3, 0.5);
}

.price-table-container {
    overflow-x: auto; /* Yatay kaydırmayı etkinleştirir */
    -webkit-overflow-scrolling: touch; /* iOS'ta daha yumuşak kaydırma */
    border: 1px solid #FAB403; /* Kenarlık ekleyebilirsiniz */
    border-radius: 8px; /* Köşeleri yuvarlama */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    padding: 0px; /* İç boşluğu küçült */
    margin-bottom: 30px; /* Tablo altında boşluk */
    background-color: #2e2f33; /* Tablo arka planı */
}


#price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    min-width: 900px;
    border-spacing: 0;

}

#price-table th,
#price-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ffffff; /* Alt kenarlık zaten var */
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-right: 1px solid #FAB403; /* Sağ kenarlık ekle */
}

/* Son sütunun sağ kenarlığını kaldır */
#price-table th:last-child,
#price-table td:last-child {
    border-right: none;
}

#price-table th {
    background-color: #FAB403;
    color: #2e2f33;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    border-radius: 0;         /* Köşe yuvarlama olmasın */
    padding: 12px 8px;        /* Dikey ve yatay iç boşlukları biraz artır */
    border-left: none;        /* Sol sınır çizgisi olmasın */
    border-right: none;       /* Sağ sınır çizgisi olmasın */
    border-top: none;         /* Üstte de boşluk olmasın */
}

#price-table td {
    font-size: 0.9em; /* Yazı tipini biraz küçült */
}

#price-table tbody tr:hover {
    background-color: #3a3b3f; /* Hover rengi, mevcut arka plan renklerinizle uyumlu */
}

#price-table th:nth-child(1),
#price-table td:nth-child(1),
#price-table th:nth-child(2),
#price-table td:nth-child(2),
#price-table th:nth-child(3),
#price-table td:nth-child(3),
#price-table th:nth-child(4),
#price-table td:nth-child(4),
#price-table th:nth-child(5),
#price-table td:nth-child(5),
#price-table th:nth-child(6),
#price-table td:nth-child(6),
#price-table th:nth-child(7),
#price-table td:nth-child(7),
#price-table th:nth-child(8),
#price-table td:nth-child(8) {
    text-align: center; /* Tüm bu yakıt sütunlarını ortala */
    width: 11.66%; /* Genişlikleri aynı kalsın */
}

/* Yakıt sütunları için genel bir genişlik, eşit dağılım için */
#price-table th:nth-child(n+3),
#price-table td:nth-child(n+3) {
    width: 11.66%; /* Kalan 6 sütun için (70% / 6) */
    text-align: center; /* Fiyatları sağa hizala */
}

/* Gizleme sınıflarını ekle */
.hidden {
    display: none !important;
}

.hidden-column {
    display: none !important;
}
/* Duyarlı tasarım için */
@media (max-width: 768px) {
    .price-section h1 {
        font-size: 2.2em;
    }

    .filters-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .filter-group select {
        width: 100%;
        max-width: 250px;
    }

    #price-table th,
    #price-table td {
        padding: 10px;
        font-size: 0.9em;
    }
}