/* Location Dropdown için Stiller */
.prayer-times-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; margin-bottom: 20px; border-bottom: 1px solid #e5e5e5; position: relative; }
.location-selection { display: flex; gap: 10px; order: 1; flex: 1; }
.location-dropdown { padding: 8px 12px; border-radius: 5px; border: 1px solid #ddd; background-color: #fff; font-weight: 600; color: #145f34; cursor: pointer; transition: all 0.3s ease; }
.location-dropdown:hover { border-color: #145f34; }
.location-dropdown:focus { outline: none; border-color: #145f34; box-shadow: 0 0 0 2px rgba(20, 95, 52, 0.2); }
.location-display { display: flex; align-items: center; font-size: 1.2rem; font-weight: 700; color: #145f34; position: absolute; left: 50%; transform: translateX(-50%); }
.location-display i { margin-right: 8px; color: #d43e3e; }
.current-date { font-size: 0.9rem; color: #666; text-align: right; order: 3; flex: 1; }
.imsak-countdown { margin: 30px 0; text-align: center; }
.countdown-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; color: #145f34; text-transform: uppercase; text-align: center; position: relative; padding-bottom: 15px; font-family: "Roboto", sans-serif; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
.countdown-title:after { content: ''; position: absolute; width: 80px; height: 3px; background-color: #145f34; bottom: 0; left: 50%; transform: translateX(-50%); }
.countdown-timer { display: flex; justify-content: center; gap: 15px; }
.timer-item { background-color: #f3f7f4; border-radius: 10px; padding: 10px 15px; min-width: 80px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.timer-value { font-size: 2rem; font-weight: 700; color: #145f34; }
.timer-label { font-size: 0.8rem; color: #666; margin-top: 5px; }
.weekly-title, .seo-title, .seo-subtitle { color: #145f34; text-align: center; position: relative; padding-bottom: 15px; margin: 30px 0 20px; font-family: "Roboto", sans-serif; text-transform: none; }
.weekly-title:after, .seo-title:after, .seo-subtitle:after { content: ''; position: absolute; width: 80px; height: 3px; background-color: #145f34; bottom: 0; left: 50%; transform: translateX(-50%); }
.weekly-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.75rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); color: #145f34; text-transform: uppercase; text-align: center; }
.seo-title { margin-top: 40px; font-size: 2.2rem; font-weight: 700; }
.seo-subtitle { font-size: 1.8rem; font-weight: 600; margin-top: 30px; }
.prayer-times-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 30px 0; }
.prayer-time-item { background-color: #f8f9fa; border-radius: 8px; padding: 15px 10px; text-align: center; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; }


.prayer-time-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.prayer-icon { font-size: 1.3rem; margin-bottom: 8px; color: #145f34; }
.prayer-name { font-size: 1rem; font-weight: 600; margin-bottom: 5px; color: #333; }
.prayer-value { font-size: 1.3rem; font-weight: 700; color: #145f34; }
.prayer-time-item.active { background-color: #e8f5e9; border-bottom: 3px solid #145f34; border-left: none; border-right: none; }
.prayer-time-item.next { border-bottom: 3px solid #e74c3c; border-left: none; border-right: none; }
.weekly-prayer-times-container { max-width: 1200px; margin: 30px auto; padding: 0; }
.weekly-table-container { border-radius: 8px; overflow-x: auto; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.prayer-times-table { margin-bottom: 0; width: 100%; table-layout: fixed; }
.prayer-times-table thead th { background-color: #145f34; color: white; font-weight: 600; text-align: center; padding: 12px 8px; border-color: #0d4525; white-space: nowrap; }
.prayer-times-table tbody td { text-align: center; padding: 8px 6px; border-color: #e9ecef; white-space: nowrap; }
.prayer-times-table tbody tr:nth-child(odd) { background-color: #f8f9fa; }
.prayer-times-table tbody tr:nth-child(even) { background-color: #ffffff; }
.date-column .short-date { display: inline; }
.date-column .full-date { display: none; }
body.dark .location-dropdown { background-color: #2a2d33; border-color: #3e4452; color: #19b069; }
body.dark .location-dropdown:hover, body.dark .location-dropdown:focus { border-color: #19b069; box-shadow: 0 0 0 2px rgba(25, 176, 105, 0.2); }
body.dark .location-display { color: #19b069; }
body.dark .current-date { color: #a0a0a0; }
body.dark .countdown-title { color: #19b069; }
body.dark .timer-item { background-color: #2a2d33; }
body.dark .timer-value { color: #19b069; }
body.dark .timer-label { color: #a0a0a0; }
body.dark .prayer-time-item { background-color: #2a2d33; }
body.dark .prayer-icon { color: #19b069; }
body.dark .prayer-name { color: #e1e1e1; }
body.dark .prayer-value { color: #19b069; }
body.dark .prayer-time-item.imsak, body.dark .prayer-time-item.yatsi { background-color: #233028; border-bottom-color: #19b069; }
body.dark .countdown-title:after, body.dark .weekly-title:after, body.dark .seo-title:after, body.dark .seo-subtitle:after { background-color: #19b069; }
body.dark .weekly-table-container { background-color: #1e2126; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
body.dark .prayer-times-table thead th { background-color: #0f4926; color: #ffffff; border-color: #0d3d1e; }
body.dark .prayer-times-table tbody td { border-color: #2c3237; color: #e1e1e1; }
body.dark .prayer-times-table tbody tr:nth-child(odd) { background-color: #2a2d33; }
body.dark .prayer-times-table tbody tr:nth-child(even) { background-color: #23262c; }
body.dark .weekly-title { color: #19b069; }
@media (min-width: 1001px) { .date-column .short-date { display: none; } .date-column .full-date { display: inline; } }
@media (max-width: 1000px) { .prayer-times-grid { grid-template-columns: repeat(3, 1fr); } .prayer-times-table .day-column { display: none; } }
@media (max-width: 768px) { .prayer-times-header { flex-direction: column; align-items: center; text-align: center; flex-wrap: wrap; } .location-display { width: 100%; text-align: center; position: static; transform: none; justify-content: center; margin-bottom: 10px; order: 1; } .current-date { width: 100%; text-align: center; margin-top: 0; margin-bottom: 15px; order: 2; } .location-selection { width: 100%; justify-content: center; flex-wrap: wrap; margin-bottom: 15px; order: 3; padding: 0 15px; gap: 8px; } .location-dropdown { flex: 1; min-width: 0; width: calc(50% - 4px); } .countdown-timer { gap: 10px; } .timer-item { min-width: 80px; padding: 10px 15px; } .timer-value { font-size: 2rem; } .prayer-times-table { font-size: 0.85rem; } .prayer-times-table thead th, .prayer-times-table tbody td { padding: 6px 4px; } .countdown-title, .weekly-title { font-size: 1.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .seo-title { font-size: 1.5rem; } .seo-subtitle { font-size: 1.3rem; } .seo-text, .explanation-item { font-size: 0.9rem; } }


@media (max-width: 576px) {
.prayer-times-grid { gap: 8px; }
.prayer-time-item { padding: 10px 8px; min-height: 80px; display: flex; flex-direction: column; justify-content: center; }
.prayer-icon { font-size: 1.2rem; margin-bottom: 5px; }
.prayer-name { font-size: 0.85rem; margin-bottom: 2px; }
.prayer-value { font-size: 1.2rem; }
.location-dropdown { padding: 6px 8px; font-size: 0.9rem; }
.location-display { font-size: 1.1rem; }
.current-date { font-size: 0.8rem; }
.countdown-title, .weekly-title { font-size: 1.2rem; }
.seo-title { font-size: 1.2rem; }
.seo-subtitle { font-size: 1.1rem; }
.prayer-times-table { font-size: 0.75rem; table-layout: fixed; width: 100%; }
.prayer-times-table thead th, .prayer-times-table tbody td { padding: 5px 2px; word-wrap: break-word; overflow-wrap: break-word; }
.date-column .short-date { font-size: 0.7rem; }
.day-column { font-size: 0.7rem; }
}

@media (max-width: 400px) {
.location-selection { gap: 5px; }
.location-dropdown { flex: 1; min-width: 0; font-size: 0.85rem; padding: 5px 6px; }
.weekly-title { font-size: 1rem; }
.timer-item { min-width: 70px; padding: 8px 12px; }
.timer-value { font-size: 1.8rem; }
.seo-title { font-size: 1.1rem; }
.seo-subtitle { font-size: 1rem; }
.date-column .short-date { font-size: 0.65rem; }
.prayer-times-table tbody td { font-size: 0.7rem; padding: 4px 1px; }
}

/* Açıklama Kutusu */
.prayer-times-explanation { background-color: #f9f9f9; border-left: 4px solid #145f34; padding: 15px; margin: 20px 0; border-radius: 0 5px 5px 0; }
.explanation-item { margin-bottom: 10px; font-size: 0.95rem; line-height: 1.5; }
.explanation-item:last-child { margin-bottom: 0; }
.explanation-item strong { color: #145f34; font-weight: 600; }

/* SEO metin stilleri */
.seo-text { line-height: 1.6; margin-bottom: 20px; text-align: justify; }

/* Karanlık Mod Stilleri - Açıklama kutusu için */
body.dark .prayer-times-explanation { background-color: #2a2d33; border-left-color: #19b069; }
body.dark .explanation-item strong { color: #19b069; }
body.dark .seo-text { color: #e1e1e1; }

/* Tablo kaydırma stilleri */
.table-scroll-container { position: relative; overflow: hidden; }
.weekly-table-container { }
.weekly-table-container::-webkit-scrollbar { width: 8px; }
.weekly-table-container::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 4px; }
.weekly-table-container::-webkit-scrollbar-thumb { background-color: #145f34; border-radius: 4px; }

/* Tablo başlıklarını sabit tut */
.prayer-times-table thead { position: sticky; top: 0; z-index: 10; }
.prayer-times-table thead th { background-color: #145f34; color: white; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 1px rgba(0,0,0,0.1); }
.prayer-times-table .current-day { background-color: rgba(20, 95, 52, 0.1) !important; position: relative; }
.prayer-times-table .current-day td { font-weight: 700; }

/* İlk satır (bugün) için özel stil */
.prayer-times-table tbody tr:first-child { border-bottom: 2px solid #145f34; }

/* Karanlık mod için scroll stilleri */
body.dark .weekly-table-container { scrollbar-color: #19b069 #2a2d33; }
body.dark .weekly-table-container::-webkit-scrollbar-track { background: #2a2d33; }
body.dark .weekly-table-container::-webkit-scrollbar-thumb { background-color: #19b069; }
body.dark .prayer-times-table thead th { background-color: #0f4926; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
body.dark .prayer-times-table .current-day { background-color: rgba(25, 176, 105, 0.15) !important; }
body.dark .prayer-times-table tbody tr:first-child { border-bottom: 2px solid #19b069; }
