/* 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: 4px solid #FAB403; /* Fiyat listesi çerçevesi daha belirgin */
    border-radius: 8px; /* Köşeleri yuvarlama */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(250, 180, 3, 0.22);
    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: 700px;
    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,
#price-table td {
    text-align: center;
}

#price-table th:first-child,
#price-table td:first-child {
    width: 28%;
}

#price-table th:nth-child(n+2),
#price-table td:nth-child(n+2) {
    width: 18%;
}

/* 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;
    }

    .calendar-filter-group,
    .calendar-picker,
    .date-picker-button {
        width: 100%;
        max-width: 300px;
        min-width: 0;
    }

    .price-calendar {
        width: min(330px, 92vw);
        left: 50%;
        transform: translateX(-50%);
    }

    #price-table th,
    #price-table td {
        padding: 10px;
        font-size: 0.9em;
    }
}
.selected-date-info {
    margin: 10px 0 18px;
    font-weight: 600;
    color: #ffffff;
}

.calendar-filter-group {
    min-width: 260px;
}

.calendar-picker {
    position: relative;
    width: 260px;
}

.date-picker-button {
    width: 100%;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #FAB403;
    background-color: #3a3b3f;
    color: #ffffff;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.date-picker-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(250, 180, 3, 0.5);
}

.date-picker-arrow {
    color: #FAB403;
    font-size: 0.85em;
}

.price-calendar {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 50;
    width: 330px;
    background: #2e2f33;
    border: 1px solid #FAB403;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.calendar-picker.is-open .price-calendar {
    display: block;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #ffffff;
}

.calendar-header button {
    width: 36px;
    height: 36px;
    border: 1px solid #FAB403;
    border-radius: 50%;
    background: #3a3b3f;
    color: #FAB403;
    font-size: 1.5em;
    line-height: 1;
    cursor: pointer;
}

.calendar-header button:hover {
    background: #FAB403;
    color: #2e2f33;
}

#calendar-month-label {
    font-size: 1.05em;
    color: #ffffff;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-weekdays {
    margin-bottom: 8px;
    color: #FAB403;
    font-size: 0.78em;
    font-weight: 700;
    text-align: center;
}

.calendar-day,
.calendar-empty {
    width: 100%;
    aspect-ratio: 1;
}

.calendar-day {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: #3a3b3f;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.calendar-day:hover:not(:disabled) {
    border-color: #FAB403;
    transform: translateY(-1px);
}

.calendar-day.today {
    outline: 2px solid #FAB403;
    outline-offset: 2px;
}

.calendar-day.selected {
    background: #FAB403;
    border-color: #FAB403;
    color: #2e2f33;
    box-shadow: 0 0 0 3px rgba(250, 180, 3, 0.25);
}

.calendar-day.disabled,
.calendar-day:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 12px;
    color: #ffffff;
    font-size: 0.82em;
}

.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.selected-dot {
    background: #FAB403;
    border: 1px solid #FAB403;
}

@media (max-width: 768px) {
    .calendar-filter-group,
    .calendar-picker,
    .date-picker-button {
        width: 100%;
        max-width: 300px;
        min-width: 0;
    }

    .price-calendar {
        width: min(330px, 92vw);
        left: 50%;
        transform: translateX(-50%);
    }
}
