/* -------------------------------------------------
   FONT
---------------------------------------------------*/
@font-face {
    font-family: 'KFGQPC Uthman';
    src: url('https://sereflikuranmeali.com/meal/fonts/KFGQPC_Uthmanic_Script_HAFS_Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* -------------------------------------------------
   GENEL RESET
---------------------------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f4f6fb;
    color: #2c3e50;
}

/* Kök layout */
.page-shell,
.app-main,
.content-shell,
.kuran-sure-container,
.kuran-sure-ayetler {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* -------------------------------------------------
   HEADER
---------------------------------------------------*/
.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg,#1a5490,#2c3e50);
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.sure-select-button {
    position: fixed;
    top: 12px;
    left: 16px;
    z-index: 100;
    border: none;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: #1a5490;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26, 84, 144, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(26, 84, 144, 0.1);
}

.sure-select-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(26, 84, 144, 0.25), 0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff, #f0f4f8);
    border-color: rgba(26, 84, 144, 0.2);
}

.sure-select-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(26, 84, 144, 0.2);
}

.brand-block {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-sub {
    font-size: 13px;
    opacity: .8;
}

.app-main {
    display: flex;
    flex: 1;
    position: relative;
}

/* -------------------------------------------------
   SÛRE PANELİ (SOL)
---------------------------------------------------*/
.sure-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 90vw;
    background: #ffffff;
    box-shadow: 3px 0 12px rgba(0,0,0,0.15);
    transform: translateX(-100%);
    transition: transform 0.25s ease-out;
    z-index: 60;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sure-panel.open {
    transform: translateX(0);
}

.sure-panel-header {
    padding: 14px 16px 10px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sure-panel-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sure-panel-title-row h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.sure-panel-close {
    border: none;
    background: #e74c3c;
    color: #ffffff;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    font-size: 16px;
    cursor: pointer;
}

.sure-search-input {
    width: 100%;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid #d0d7de;
    font-size: 16px;
}

.sure-hint {
    font-size: 14px;
    color: #7f8c8d;
}

.sure-list {
    flex: 1;
    overflow-y: auto;
    padding: 6px 8px 12px;
}

.sure-item-btn {
    width: 100%;
    border: none;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 6px;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s, transform 0.1s;
}

.sure-item-btn span.no {
    font-weight: 700;
    color: #1a5490;
    margin-right: 6px;
}

.sure-item-btn span.name {
    flex: 1;
    margin-right: 6px;
}

.sure-item-btn span.ayet-count {
    font-size: 13px;
    color: #95a5a6;
    white-space: nowrap;
}

.sure-item-btn:hover {
    background: #e9f2ff;
    transform: translateY(-1px);
}

/* Panel arkası karartma */
.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    z-index: 55;
}

.backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* -------------------------------------------------
   İÇERİK ALANI
---------------------------------------------------*/
.content-shell {
    max-width: 1100px;
    margin: 18px auto 32px;
    padding: 0 12px 32px;
}

/* Filtreli sayfa için tam genişlik */
body.filter-page-active,
body.filter-page-active .page-shell,
body.filter-page-active .app-main,
body.filter-page-active .content-shell,
body.filter-page-active .kuran-sure-container,
body.filter-page-active .kuran-sure-ayetler,
body.filter-page-active .kuran-ayet-tablo {
    max-width: 100% !important;
    width: 100% !important;
}

body.filter-page-active .content-shell {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

body.filter-page-active .app-main {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.filter-page-active .page-shell {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 768px) {
    body.filter-page-active .content-shell {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

.top-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.current-sure-label {
    font-weight: 600;
    font-size: 15px;
}

.view-options {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}

.view-options label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid #d0d7de;
    cursor: pointer;
}

.top-right-tools {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.search-in-sure {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 220px;
}

.sure-search {
    flex: 1;
    padding: 6px 9px;
    border-radius: 999px;
    border: 1px solid #d0d7de;
    font-size: 13px;
}

.top-pill-btn {
    border: none;
    background: #ffffff;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.top-pill-btn .icon {
    font-size: 14px;
}

.search-info {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.placeholder-msg {
    padding: 18px;
    background: #e3f2fd;
    border-radius: 8px;
    color: #1a5490;
    font-size: 14px;
}

/* -------------------------------------------------
   SÛRE / AYET KARTLARI
---------------------------------------------------*/
.kuran-sure-container,
.kuran-sure-meal-container {
    margin: 20px 0;
    padding: 0;
}

.kuran-sure-header {
    background: linear-gradient(135deg, #1a5490 0%, #2c3e50 100%);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.kuran-sure-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: bold;
}

.kuran-sure-header p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.kuran-sure-ayetler {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Ayet tablo kart */
.kuran-ayet-tablo {
    margin: 15px 0;
    padding: 0;
    border: 2px solid #34495e;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.kuran-ayet-tablo-header {
    background: linear-gradient(135deg,#2c3e50 0%,#34495e 100%);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.kuran-ayet-header-left h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.kuran-ayet-header-left p {
    margin: 5px 0 0 0;
    font-size: 15px;
    opacity: 0.9;
}

.kuran-ayet-header-actions {
    display: flex;
    gap: 6px;
}

/* Ayet üst butonları */
.ayet-action-btn {
    border: none;
    background: #ffffff;
    border-radius: 10px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s, filter 0.2s;
    font-weight: normal;
    color: #2c3e50;
    line-height: 1;
}
.ayet-action-btn .btn-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    transition: filter 0.2s ease;
}
.ayet-action-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    background: #f8f9fa;
}
.ayet-action-btn:hover .btn-icon-img {
    filter: brightness(0.9);
}
.ayet-action-btn.active {
    background: linear-gradient(135deg, #ffca28, #ffb300);
    box-shadow: 0 3px 6px rgba(255, 202, 40, 0.4);
}
.ayet-action-btn.active .btn-icon-img {
    filter: brightness(0) invert(1);
}
.ayet-action-btn.active:hover {
    background: linear-gradient(135deg, #ffb300, #ffa000);
    transform: translateY(-2px) scale(1.08);
}

/* Favori butonu - aktif olmadığında gri ikon */
.ayet-favorite-btn:not(.active) {
    background: #f5f5f5;
}
.ayet-favorite-btn:not(.active) .btn-icon-img {
    filter: brightness(0) saturate(0) opacity(0.4);
}

/* Favori butonu - seçiliyken kırmızı */
.ayet-favorite-btn.active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 3px 6px rgba(239, 68, 68, 0.4);
}
.ayet-favorite-btn.active .btn-icon-img {
    filter: brightness(0) invert(1);
}
.ayet-favorite-btn.active:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.5);
}

/* Bookmark butonu - seçiliyken kırmızı */
.ayet-bookmark-btn.active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 3px 6px rgba(239, 68, 68, 0.4);
}
.ayet-bookmark-btn.active .btn-icon-img {
    filter: brightness(0) invert(1);
}
.ayet-bookmark-btn.active:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.5);
}

.kuran-ayet-tablo-section {
    padding: 12px 15px;
    border-bottom: 1px solid #ecf0f1;
}
.kuran-ayet-tablo-section:last-child {
    border-bottom: none;
}

/* Arapça */
.kuran-ayet-arapca {
    font-size: 28px;
    text-align: right;
    direction: rtl;
    font-family: 'KFGQPC Uthman','Traditional Arabic','Arial Unicode MS',sans-serif;
    line-height: 2.2;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 5px;
    color: #1a1a1a;
    font-feature-settings: "liga","rlig";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Latin & Meal */
.kuran-ayet-latin,
.kuran-ayet-meal {
    font-size: 22px;
    font-style: italic;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 5px;
    color: #34495e;
    line-height: 1.9;
    font-family: Georgia,'Times New Roman',serif;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Not kutusu */
.kuran-ayet-not {
    margin-top: 12px;
    padding: 10px;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    font-size: 18px;
    color: #856404;
    line-height: 2;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Latin tablo butonu + alanı */
.ayet-latin-table-block {
    margin-top: 10px;
}

.ayet-latin-table-toggle {
    border: none;
    background: #ffffff;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ayet-latin-table-toggle:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.ayet-latin-table {
    margin-top: 8px;
    padding: 8px;
    background: #ffffff;
    border-radius: 6px;
    overflow-x: auto;
}

/* JSON içindeki tabloyu biraz toparla (varsa) */
.ayet-latin-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.ayet-latin-table th,
.ayet-latin-table td {
    border: 1px solid #e0e0e0;
    padding: 4px 6px;
    text-align: center;
}

/* Asterisk superscript'leri */
.kuran-ayet-meal sup:not(.kuran-kavram-link),
.kuran-ayet-latin sup:not(.kuran-kavram-link),
.kuran-ayet-not sup {
    color:#d39e00;
    font-weight:bold;
    margin:0 !important;
    padding:0 !important;
}

/* Kavram linkleri */
.kuran-kavram-link {
    color: #3498db;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}
.kuran-kavram-link:hover {
    color: #2980b9;
}

/* Hata / Yükleme */
.kuran-ayet-error {
    color: #e74c3c;
    background-color: #fadbd8;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #e74c3c;
    margin: 20px 0;
}

.kuran-sure-loading {
    padding: 15px;
    background-color: #e3f2fd;
    border-radius: 5px;
    color: #1976d2;
    text-align: center;
    font-style: italic;
}

/* Arama highlight */
mark.sure-highlight,
mark.sure-highlight-1 {
  background-color: #fff3cd;
  color: #856404;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 500;
}

mark.sure-highlight-2 {
  background-color: #cfe2ff;
  color: #084298;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 500;
}

mark.sure-highlight-3 {
  background-color: #d1e7dd;
  color: #0f5132;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 500;
}

mark.sure-highlight-4 {
  background-color: #ffe5d0;
  color: #8b4513;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 500;
}

mark.sure-highlight-5 {
  background-color: #f8d7da;
  color: #842029;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 500;
}

mark.sure-highlight-6 {
  background-color: #e2d9f3;
  color: #6f42c1;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 500;
}

mark.sure-highlight {
    background-color: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
}

/* Ayete scroll sonrası highlight */
.ayet-card-highlight {
    animation: ayetHighlight 1.5s ease-out;
    box-shadow: 0 0 0 2px #ffca28, 0 4px 10px rgba(0,0,0,0.25);
}
@keyframes ayetHighlight {
    0%   { background-color: #fff8e1; }
    50%  { background-color: #ffecb3; }
    100% { background-color: #ffffff; }
}

/* Görünüm gizleme */
.hidden-section {
    display: none !important;
}

/* -------------------------------------------------
   SES ÇALICI
---------------------------------------------------*/
.kuran-ayet-audio-player {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.kuran-ayet-play-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.kuran-ayet-play-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
}

.kuran-ayet-play-btn.playing {
    background: linear-gradient(135deg, #fb8c00, #ffa726);
    animation: pulse 1.5s infinite;
    color:#fff;
}

.kuran-ayet-play-btn.loading {
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    cursor: wait;
    color:#fff;
}

.kuran-ayet-play-btn.error {
    background: linear-gradient(135deg, #e53935, #ef5350);
    color:#fff;
}

.kuran-ayet-play-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.kuran-ayet-progress-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.kuran-ayet-progress-bar {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.kuran-ayet-progress-bar:hover {
    height: 10px;
}

.kuran-ayet-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #43a047, #66bb6a);
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s linear;
}

.kuran-ayet-progress-bar.playing .kuran-ayet-progress-fill {
    background: linear-gradient(135deg, #fb8c00, #ffa726);
}

.kuran-ayet-time-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.8; }
}

/* -------------------------------------------------
   KAVRAM PANELİ
---------------------------------------------------*/
.kavram-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 80;
    animation: fadeIn 0.3s ease;
}

.kavram-panel-overlay.show {
    display: flex;
}

.kavram-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    width: 420px;
    max-width: 95vw;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    position: relative;
}

.kavram-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 16px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kavram-panel-title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kavram-panel-title::before {
    content: '🔍';
    font-size: 20px;
}

.kavram-panel-close {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.kavram-panel-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.kavram-search-input-wrapper {
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.kavram-search-input-wrapper::before {
    content: '🔍';
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.kavram-search-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

.kavram-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.kavram-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: min-content;
    gap: 16px;
    align-items: start;
    min-height: 200px;
}

.kavram-list::-webkit-scrollbar {
    width: 8px;
}

.kavram-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.kavram-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.kavram-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.kavram-item-btn {
    border: none;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.kavram-item-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.kavram-item-btn:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #3b82f6;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.kavram-item-btn:hover::before {
    transform: scaleY(1);
}

/* Kavram kartları (Suredeki kavramlar paneli için) */
.kavram-item-card {
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    position: static;
    overflow: hidden;
    width: 100%;
    height: auto;
    z-index: 1;
    cursor: pointer;
}

.kavram-item-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.kavram-item-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    z-index: 2;
    position: relative;
}

.kavram-item-card:hover::before {
    transform: scaleY(1);
}

.kavram-item-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.kavram-item-card-title {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #1e40af;
    flex: 1;
}

.kavram-item-card-title .no {
    font-weight: 800;
    color: #3b82f6;
    font-size: 18px;
}

.kavram-item-card-title .text {
    font-weight: 700;
}

.kavram-item-card-body {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.kavram-item-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 4px;
}

.kavram-item-filter-btn,
.kavram-item-popup-btn {
    border: 2px solid #e2e8f0;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    color: #64748b;
}

.kavram-item-filter-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-color: #3b82f6;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.kavram-item-popup-btn:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #1d4ed8;
    transform: translateY(-1px);
}

.kavram-info {
    font-size: 14px;
    color: #64748b;
    padding: 12px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-weight: 500;
}

.kavram-clear-btn {
    border: none;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    color: #ffffff;
    transition: all 0.2s ease;
    margin: 16px 20px;
    align-self: stretch;
}

.kavram-clear-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.kavram-clear-btn:active {
    transform: translateY(0);
}

/* -------------------------------------------------
   YER İMİ / FAVORİ PANELİ
---------------------------------------------------*/
.selection-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 90;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.selection-panel-overlay.show {
    display: flex;
}

.selection-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    width: 420px;
    max-width: 95vw;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.selection-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 16px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.selection-panel-title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.selection-panel-title::before {
    content: '';
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.selection-panel-title.bookmarks::before {
    content: '🔖';
    font-size: 20px;
}

.selection-panel-title.favorites::before {
    content: '❤️';
    font-size: 20px;
}

.selection-panel-close {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.selection-panel-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.selection-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 200px;
}

.selection-list::-webkit-scrollbar {
    width: 8px;
}

.selection-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.selection-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.selection-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.selection-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.selection-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.selection-item:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #3b82f6;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.selection-item:hover::before {
    transform: scaleY(1);
}

.selection-item-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.selection-item-line {
    font-weight: 700;
    color: #1e40af;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.selection-item-meta {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.selection-item-delete {
    border: none;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.selection-item-delete:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.selection-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.selection-empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.selection-empty-state-text {
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.6;
}

.selection-panel-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.selection-clear-all-btn {
    border: none;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    color: #ffffff;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.selection-clear-all-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.selection-clear-all-btn:active {
    transform: translateY(0);
}

/* -------------------------------------------------
   BAŞA DÖN BUTONU
---------------------------------------------------*/
.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #1a5490, #2c3e50);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

/* PDF Progress Modal */
.pdf-progress-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    backdrop-filter: blur(4px);
}

.pdf-progress-modal.show {
    display: flex;
}

.pdf-progress-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    padding: 0;
    min-width: 400px;
    max-width: 90vw;
    overflow: hidden;
}

.pdf-progress-header {
    background: linear-gradient(135deg, #1a5490, #2c3e50);
    color: #ffffff;
    padding: 20px 24px;
    text-align: center;
}

.pdf-progress-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.pdf-progress-body {
    padding: 24px;
}

.pdf-progress-text {
    text-align: center;
    color: #374151;
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 20px;
}

.pdf-progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdf-progress-bar {
    flex: 1;
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.pdf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a5490, #3b82f6);
    border-radius: 6px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pdf-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.pdf-progress-percent {
    font-size: 14px;
    font-weight: 600;
    color: #1a5490;
    min-width: 45px;
    text-align: right;
}

/* -------------------------------------------------
   RESPONSIVE
---------------------------------------------------*/
/* Kompakt bar (Desktop ve Mobil) */
.mobile-top-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    background: #ffffff;
    border: 2px solid #2c3e50;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Arama satırı (ayrı satır) */
.search-row {
    width: 100%;
    margin-top: 10px;
}

.search-row .search-in-sure {
    width: 100%;
    min-width: 100%;
}

.search-row .sure-search {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 2px solid #d0d7de;
    font-size: 14px;
    transition: all 0.2s;
}

.search-row .sure-search:focus {
    outline: none;
    border-color: #1a5490;
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

/* Sûre Seç butonu */
.mobile-sure-select-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}

.mobile-sure-select-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.dropdown-arrow {
    font-size: 10px;
    color: #6c757d;
    margin-left: 2px;
}

/* View toggle butonları */
.mobile-view-toggles {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.mobile-view-toggle {
    width: 36px;
    height: 36px;
    border: 2px solid #d0d7de;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #6c757d;
    transition: all 0.2s;
    padding: 0;
}

.mobile-view-toggle.active {
    background: #1a5490;
    color: #ffffff;
    border-color: #1a5490;
    box-shadow: 0 2px 4px rgba(26, 84, 144, 0.3);
}

.mobile-view-toggle:not(.active) {
    background: #f8f9fa;
    color: #6c757d;
}

.mobile-view-toggle:not(.active):hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.mobile-view-toggle .toggle-text {
    line-height: 1;
}

/* Ayarlar dropdown */
.mobile-settings-dropdown {
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
}

.mobile-settings-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.mobile-settings-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.mobile-settings-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    min-width: 200px;
    max-width: 90vw;
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    max-height: 70vh;
    overflow-y: auto;
}

.mobile-settings-menu.show {
    display: flex;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: none;
    background: #ffffff;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item:hover {
    background: #f8f9fa;
}

.mobile-menu-item:active {
    background: #e9ecef;
}

.mobile-menu-item .icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Settings sections */
.settings-section {
    padding: 8px 0;
}

.settings-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #6e7681;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    margin-bottom: 4px;
}

.settings-item {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-item label {
    font-size: 14px;
    font-weight: 500;
    color: #24292f;
    min-width: 100px;
}

.settings-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
    color: #24292f;
    cursor: pointer;
    transition: border-color 0.2s;
}

.settings-select:hover {
    border-color: #0969da;
}

.settings-select:focus {
    outline: none;
    border-color: #0969da;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
}

.settings-divider {
    height: 1px;
    background: #d0d7de;
    margin: 4px 0;
}

/* Selection item note styles */
.selection-item-note-container {
    margin-top: 8px;
    width: 100%;
}

.selection-item-note {
    width: 100%;
    min-height: 60px;
    padding: 8px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    background: #f8f9fa;
    transition: background 0.2s, border-color 0.2s;
}

.selection-item-note:focus {
    outline: none;
    background: #ffffff;
    border-color: #0969da;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
}

.selection-item-note::placeholder {
    color: #8c959f;
}

@media (max-width: 640px) {
    /* Mobil için ekstra ayarlar */
    .mobile-top-bar {
        padding: 8px 10px;
        gap: 6px;
    }
    
    .mobile-sure-select-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .mobile-view-toggle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .mobile-settings-btn {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    /* Sûre Seç butonu */
    .mobile-sure-select-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        background: #f8f9fa;
        border: 1px solid #d0d7de;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        flex-shrink: 0;
        transition: all 0.2s;
    }
    
    .mobile-sure-select-btn:hover {
        background: #e9ecef;
        border-color: #adb5bd;
    }
    
    .dropdown-arrow {
        font-size: 10px;
        color: #6c757d;
        margin-left: 2px;
    }
    
    /* View toggle butonları */
    .mobile-view-toggles {
        display: flex;
        gap: 6px;
        flex-shrink: 0;
    }
    
    .mobile-view-toggle {
        width: 36px;
        height: 36px;
        border: 2px solid #d0d7de;
        border-radius: 8px;
        background: #f8f9fa;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 700;
        color: #6c757d;
        transition: all 0.2s;
        padding: 0;
    }
    
    .mobile-view-toggle.active {
        background: #1a5490;
        color: #ffffff;
        border-color: #1a5490;
        box-shadow: 0 2px 4px rgba(26, 84, 144, 0.3);
    }
    
    .mobile-view-toggle:not(.active) {
        background: #f8f9fa;
        color: #6c757d;
    }
    
    .mobile-view-toggle:not(.active):hover {
        background: #e9ecef;
        border-color: #adb5bd;
    }
    
    .mobile-view-toggle .toggle-text {
        line-height: 1;
    }
    
    /* Ayarlar dropdown */
    .mobile-settings-dropdown {
        position: relative;
        flex-shrink: 0;
    }
    
    .mobile-settings-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        background: #f8f9fa;
        border: 1px solid #d0d7de;
        border-radius: 8px;
        font-size: 16px;
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.2s;
    }
    
    .mobile-settings-btn:hover {
        background: #e9ecef;
        border-color: #adb5bd;
    }
    
    .mobile-settings-menu {
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        background: #ffffff;
        border: 1px solid #d0d7de;
        border-radius: 10px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
        min-width: 200px;
        max-width: 90vw;
        z-index: 1000;
        display: none;
        flex-direction: column;
        overflow: hidden;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .mobile-settings-menu.show {
        display: flex;
    }
    
    .mobile-menu-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        border: none;
        background: #ffffff;
        text-align: left;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.15s;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu-item:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-item:hover {
        background: #f8f9fa;
    }
    
    .mobile-menu-item:active {
        background: #e9ecef;
    }
    
    .mobile-menu-item .icon {
        font-size: 16px;
        width: 20px;
        text-align: center;
    }
    
    .top-controls {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    
    .current-sure-label {
        font-size: 13px;
    }

    .content-shell {
        padding: 0 8px 24px;
    }

    .kuran-ayet-tablo-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .kuran-ayet-header-actions {
        align-self: flex-end;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .ayet-action-btn {
        width: 40px;
        height: 40px;
    }
    
    .ayet-action-btn .btn-icon-img {
        width: 22px;
        height: 22px;
    }

    .kuran-ayet-audio-player {
        flex-direction: column;
        align-items: stretch;
    }

    .kuran-ayet-arapca {
        font-size: 22px;
        line-height: 2;
    }

    .kuran-ayet-latin,
    .kuran-ayet-meal {
        font-size: 17px;
    }
}

/* Mobil overflow güvenliği */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* En dış kapsayıcı ve sûre alanı taşmasın */
.page-shell,
.app-main,
.content-shell,
#sureContainer,
.kuran-sure-container,
.kuran-sure-ayetler {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
}

/* Herhangi bir eleman yanlışlıkla genişlerse kır: */
.kuran-ayet-tablo,
.kuran-ayet-arapca,
.kuran-ayet-latin,
.kuran-ayet-meal,
.kuran-ayet-not {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ==== MOBİL OKUNABİLİRLİK OPTİMİZASYONU ==== */
@media (max-width: 640px){

    .kuran-ayet-tablo-section {
        padding: 16px;
    }

    .kuran-ayet-meal {
        font-size: 21px !important;
        line-height: 1.95;
    }

    .kuran-ayet-latin {
        font-size: 21px !important;
        line-height: 2;
    }

    .kuran-ayet-not {
        font-size: 18px !important;
        line-height: 2;
    }

    .kuran-ayet-arapca {
        font-size: 26px !important;
        line-height: 2.2;
    }

    .kuran-kavram-link {
        font-size: 20px;
    }

    .kuran-sure-ayetler {
        gap: 16px;
    }
}

/* =========================================
   KAVRAM POPUP (tek kavram detay)
========================================= */
.kuran-kavram-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 120;
    animation: fadeIn 0.3s ease;
}

.kuran-kavram-popup-overlay.show {
    display: flex;
}

.kuran-kavram-popup {
    width: min(700px, 95vw);
    max-height: 85vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    position: relative;
}

/* Başlık alanı */
.kuran-kavram-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 16px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kuran-kavram-popup-header > div:first-child {
    flex: 1;
}

.kuran-kavram-popup-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kuran-kavram-popup-title::before {
    content: '📖';
    font-size: 22px;
}

.kuran-kavram-popup-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.kuran-kavram-popup-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kavram-copy-btn {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.kavram-copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.kuran-kavram-popup-close {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.kuran-kavram-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

/* Gövde */
.kuran-kavram-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    font-size: 17px;
    line-height: 1.9;
    color: #374151;
}

.kuran-kavram-popup-body::-webkit-scrollbar {
    width: 8px;
}

.kuran-kavram-popup-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.kuran-kavram-popup-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.kuran-kavram-popup-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Alt bilgi */
.kuran-kavram-popup-footer {
    font-size: 13px;
    color: #64748b;
    text-align: right;
    padding: 12px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-weight: 500;
}

.kuran-kavram-popup-no {
    color: #1d4ed8;
    font-weight: 700;
}
/* -------------------------------------------------
   LATIN TABLO BUTONU
---------------------------------------------------*/
.ayet-latin-table-block {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #e0e0e0;
}

.ayet-latin-table-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: none;
    background: #ff9800;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.ayet-latin-table-toggle:hover {
    background: #fb8c00;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.ayet-latin-table-toggle:active {
    background: #f57c00;
    box-shadow: 0 2px 5px rgba(0,0,0,0.18);
    transform: translateY(0);
}

.ayet-latin-table {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ffe0b2;
    background: #fff7e6;
    max-width: 100%;
    overflow-x: auto;
}
/* -------------------------------------------------
   TÜM KAVRAMLAR OVERLAY & PANEL
---------------------------------------------------*/

.all-kavram-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 130;
}

.all-kavram-overlay.show {
    display: flex;
}

.all-kavram-panel {
    width: min(1100px, 96vw);
    max-height: min(90vh, 720px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    padding: 14px 16px 16px;
    border: 1px solid #dde4ec;
}

/* Başlık */

.all-kavram-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.all-kavram-header h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1b3a57;
}

.all-kavram-close {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #7f8c8d;
    padding: 0 4px;
}
.all-kavram-close:hover {
    color: #c0392b;
}

/* Arama çubuğu */

.all-kavram-toolbar {
    margin-bottom: 8px;
}

.all-kavram-search {
    width: 100%;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid #d0d7de;
    font-size: 13px;
    outline: none;
}
.all-kavram-search:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 2px rgba(230,126,34,0.15);
}

/* Kart listesi */

.all-kavram-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: min-content;
    gap: 16px;
    align-items: start;
}

.all-kavram-list::-webkit-scrollbar {
    width: 8px;
}

.all-kavram-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.all-kavram-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.all-kavram-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Kart */

.all-kavram-card {
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    position: static;
    overflow: hidden;
    width: 100%;
    height: auto;
    z-index: 1;
}

.all-kavram-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.all-kavram-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    z-index: 2;
    position: relative;
}

.all-kavram-card:hover::before {
    transform: scaleY(1);
}

.all-kavram-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.all-kavram-card-title {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #1e40af;
}

.all-kavram-card-title .no {
    font-weight: 800;
    color: #3b82f6;
    font-size: 18px;
}

.all-kavram-card-title .text {
    font-weight: 700;
}

/* Kart aksiyon butonları */

.all-kavram-card-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.all-kavram-card-actions button {
    border: 2px solid #e2e8f0;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    color: #64748b;
}

.all-kavram-card-actions button:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #1d4ed8;
    transform: translateY(-1px);
}

/* Ayetlere git butonu biraz öne çıksın */
.all-kavram-card-actions .kavram-ayetler-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-color: #3b82f6;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.all-kavram-card-actions .kavram-ayetler-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* Kart gövdesi */

.all-kavram-card-body {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.all-kavram-card-body p {
    margin: 0 0 4px;
}
.sure-item-btn span.ayet-count {
    font-size: 11px;
    color: #95a5a6;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

/* 12/286 gibi metin */
.sure-progress-line {
    font-size: 11px;
}

/* Yüzde rozetinin genel hali */
.sure-progress-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    min-width: 42px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

/* Renkler: durumlara göre */
.sure-progress-badge--full {
    background: linear-gradient(135deg, #2e7d32, #66bb6a); /* yeşil */
    color: #ffffff;
}

.sure-progress-badge--mid {
    background: linear-gradient(135deg, #ffb300, #ffca28); /* sarı/turuncu */
    color: #4e342e;
}

.sure-progress-badge--low {
    background: linear-gradient(135deg, #e53935, #ef5350); /* kırmızı */
    color: #ffffff;
}

.sure-progress-badge--empty,
.sure-progress-badge--unknown {
    background: #eceff1;
    color: #607d8b;
}
.latin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}

.latin-table th {
  background: #f4f4f4;
  padding: 6px;
  font-weight: bold;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

.latin-table td {
  padding: 5px;
  border-bottom: 1px solid #e5e5e5;
}

.latin-table .arabic {
  font-family: 'KFGQPC Uthmanic Script HAFS', serif;
  font-size: 18px;
  text-align: right;
}

/* -------------------------------------------------
   Detaylı Arama (inline panel + sonuç stili)
---------------------------------------------------*/
.detayli-arama-wrapper {
  margin: 8px 0 4px;
}

.detayli-arama-toggle {
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.detayli-arama-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.detayli-arama-toggle:hover::before {
  width: 300px;
  height: 300px;
}

.detayli-arama-toggle:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.4);
}

.detayli-arama-toggle:active {
  transform: translateY(0) scale(0.98);
}

.detayli-arama-toggle.active {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.detayli-arama-toggle .toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.detayli-arama-toggle.active .toggle-icon {
  transform: rotate(180deg);
}

.detayli-arama-panel {
  margin-top: 10px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

.detayli-arama-panel.show {
  opacity: 1;
  transform: translateY(0);
  max-height: 500px;
}

.detayli-arama-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
}

.detayli-arama-input-wrapper {
  flex: 1;
  position: relative;
}

.detayli-arama-input-wrapper::before {
  content: '🔍';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.detayli-arama-input {
  flex: 1;
  width: 100%;
  padding: 10px 12px 10px 38px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #ffffff;
  box-sizing: border-box;
}

.detayli-arama-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.detayli-arama-input::placeholder {
  color: #9ca3af;
  transition: opacity 0.3s ease;
}

.detayli-arama-input:focus::placeholder {
  opacity: 0.5;
}

.detayli-arama-button {
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.detayli-arama-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.detayli-arama-button:active {
  transform: translateY(0);
}

.detayli-arama-button.loading {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

.detayli-arama-button.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.detayli-arama-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  margin-bottom: 8px;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
}

.detayli-arama-options-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.detayli-arama-group-label {
  font-weight: 500;
  margin-right: 2px;
}

.detayli-arama-status {
  font-size: 12px;
  color: #6b7280;
}

.detayli-arama-loading,
.detayli-arama-empty,
.detayli-arama-more {
  font-size: 13px;
  color: #6b7280;
  padding: 4px 2px;
}

.detayli-arama-ayet-title,
.detayli-arama-kavram-title {
  margin: 4px 0 6px;
  font-size: 14px;
}

.detayli-arama-kavram-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
}

.detayli-arama-kavram-item {
  padding: 6px 4px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
}

.detayli-arama-kavram-item:hover {
  background: #f9fafb;
}

.detayli-arama-kavram-item .detayli-arama-ref {
  font-weight: 600;
  margin-bottom: 2px;
}

.detayli-arama-kavram-item .detayli-arama-meal {
  font-size: 13px;
  color: #374151;
}

.detayli-arama-ayet-card mark,
.detayli-arama-kavram-item mark {
  background: #fef08a;
  padding: 0 1px;
}

/* Mobil uyumu */
@media (max-width: 640px) {
  .detayli-arama-toggle {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }
  
  .detayli-arama-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  
  .detayli-arama-button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .detayli-arama-options {
    flex-direction: column;
    gap: 10px;
  }
  
  .detayli-arama-options-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .selection-panel-overlay {
    padding: 10px;
    align-items: flex-end;
  }
  
  .selection-panel {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    animation: slideUpMobile 0.3s ease;
  }
  
  @keyframes slideUpMobile {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }
  
  .selection-panel-header {
    padding: 16px 16px 12px;
  }
  
  .selection-panel-title {
    font-size: 16px;
  }
  
  .selection-list {
    padding: 12px;
    gap: 8px;
  }
  
  .selection-item {
    padding: 12px 14px;
  }
  
  .selection-panel-footer {
    padding: 12px 16px;
  }
  
  .kuran-kavram-popup-overlay {
    padding: 10px;
  }
  
  .kuran-kavram-popup {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    animation: slideUpMobile 0.3s ease;
  }
  
  .kuran-kavram-popup-header {
    padding: 16px 16px 12px;
  }
  
  .kuran-kavram-popup-title {
    font-size: 18px;
  }
  
  .kuran-kavram-popup-body {
    padding: 16px;
    font-size: 16px;
  }
  
  .kuran-kavram-popup-footer {
    padding: 10px 16px;
  }
  
  .kavram-panel-overlay {
    padding: 10px;
    align-items: flex-end;
  }
  
  .kavram-panel {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    animation: slideUpMobile 0.3s ease;
  }
  
  .kavram-panel-header {
    padding: 16px 16px 12px;
  }
  
  .kavram-panel-title {
    font-size: 16px;
  }
  
  .kavram-search-input-wrapper {
    padding: 12px 16px;
  }
  
  .kavram-list {
    padding: 12px;
    gap: 8px;
  }
  
  .kavram-item-btn {
    padding: 12px 14px;
  }
  
  .kavram-item-card {
    padding: 14px;
    gap: 10px;
  }
  
  .kavram-item-card-title {
    font-size: 15px;
  }
  
  .kavram-item-card-body {
    font-size: 13px;
    max-height: 80px;
    -webkit-line-clamp: 3;
  }
  
  .kavram-item-card-actions {
    flex-direction: column;
    gap: 6px;
  }
  
  .kavram-item-filter-btn,
  .kavram-item-popup-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
  }
  
  .kavram-info {
    padding: 10px 16px;
  }
  
  .kavram-clear-btn {
    margin: 12px 16px;
  }
  
  .kavram-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  
  .kavram-item-card {
    padding: 14px;
    gap: 10px;
  }
  
  .kavram-item-card-title {
    font-size: 15px;
  }
  
  .kavram-item-card-body {
    font-size: 13px;
    max-height: 80px;
    -webkit-line-clamp: 3;
  }
  
  .kavram-item-card-actions {
    flex-direction: column;
    gap: 6px;
  }
  
  .kavram-item-filter-btn,
  .kavram-item-popup-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
  }
  
  .all-kavram-overlay {
    padding: 10px;
  }
  
  .all-kavram-panel {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    animation: slideUpMobile 0.3s ease;
  }
  
  .all-kavram-header {
    padding: 16px 16px 12px;
  }
  
  .all-kavram-header h2 {
    font-size: 18px;
  }
  
  .all-kavram-toolbar {
    padding: 12px 16px;
  }
  
  .all-kavram-list {
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .all-kavram-card {
    padding: 14px;
  }
  
  .all-kavram-card-title {
    font-size: 15px;
  }
  
  .all-kavram-card-body {
    font-size: 14px;
  }
}

.detayli-arama-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 8px 0;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 4px;
}

.detayli-arama-tab {
  border: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  background: #e5e7eb;
  color: #374151;
}

.detayli-arama-tab.active {
  background: #1d4ed8;
  color: #ffffff;
}

.detayli-sonuc-blok {
  margin-top: 4px;
}

.detayli-sonuc-blok:not(:first-of-type) {
  margin-top: 8px;
}
