/* ================================================================
   DİLEKÇE ÖRNEKLERİ SAYFASI — Modern Tasarım
   ================================================================ */

/* ── LAYOUT ──────────────────────────────────────────────── */
body.dilekce-body #wrapper {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}
body.dilekce-body .content-holder {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    overflow: visible !important;
    height: auto !important;
    width: 100% !important;
}

/* ── STICKY PANEL ────────────────────────────────────────── */
.sticky-panel li {
    overflow: hidden !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.sticky-panel li img {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    margin: 0 !important;
    object-fit: contain !important;
}

/* ── KAPSAYICI ───────────────────────────────────────────── */
.dilekce-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 40px 80px;
    box-sizing: border-box;
}

/* ── BAŞLIK ──────────────────────────────────────────────── */
.dilekce-baslik {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #f26522 !important;
    text-align: left !important;
    margin: 0 0 6px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid rgba(242,101,34,0.25) !important;
    text-transform: none !important;
}
.dilekce-alt-baslik {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    margin: 0 0 28px;
}

/* ── UYARI PANELİ ────────────────────────────────────────── */
.dilekce-uyari {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border-left: 4px solid #f26522;
    border-radius: 0 8px 8px 0;
    padding: 18px 24px;
    margin-bottom: 28px;
    box-sizing: border-box;
}
.dilekce-uyari-baslik {
    font-size: 13px;
    font-weight: 700;
    color: #f26522;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dilekce-uyari-baslik svg {
    width: 16px;
    height: 16px;
    stroke: #f26522;
    flex-shrink: 0;
}
.dilekce-uyari p {
    font-size: 13px !important;
    color: rgba(255,255,255,0.6) !important;
    line-height: 1.65 !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    text-align: left !important;
}
.dilekce-uyari p:last-child { margin: 0 !important; }
.dilekce-uyari a {
    color: #f26522 !important;
    text-decoration: underline !important;
}

/* ── ARAMA KUTUSU ────────────────────────────────────────── */
.dilekce-arama-wrap {
    position: relative;
    margin-bottom: 20px;
}
.dilekce-arama-wrap svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: rgba(255,255,255,0.35);
    pointer-events: none;
}
#dilekce-arama {
    width: 100%;
    padding: 14px 16px 14px 46px;
    font-size: 15px;
    font-family: 'Mukta', sans-serif;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 50px;
}
#dilekce-arama::placeholder { color: rgba(255,255,255,0.35); }
#dilekce-arama:focus {
    border-color: rgba(242,101,34,0.5);
    box-shadow: 0 0 0 3px rgba(242,101,34,0.12);
}

/* ── KATEGORİ FİLTRE BUTONLARI ───────────────────────────── */
.dilekce-kategoriler {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.kat-btn {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Mukta', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.kat-btn:hover {
    color: #f26522;
    border-color: rgba(242,101,34,0.4);
    background: rgba(242,101,34,0.07);
}
.kat-btn.aktif {
    background: rgba(242,101,34,0.15);
    border-color: #f26522;
    color: #f26522;
    font-weight: 600;
}

/* Sonuç sayısı */
.dilekce-sonuc-sayi {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
}
.dilekce-sonuc-sayi span {
    color: #f26522;
    font-weight: 600;
}

/* ── DİLEKÇE GRID ────────────────────────────────────────── */
.dilekce-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ── DİLEKÇE KARTI ──────────────────────────────────────── */
.dilekce-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: #222226 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
    padding: 24px 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    color: rgba(255,255,255,0.88) !important;
    box-shadow: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    min-height: 130px !important;
    gap: 12px !important;
    box-sizing: border-box !important;
}
.dilekce-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 24px rgba(242,101,34,0.18) !important;
    border-color: rgba(242,101,34,0.45) !important;
    color: #fff !important;
    text-decoration: none !important;
}
.dilekce-item svg {
    width: 32px;
    height: 32px;
    stroke: #f26522;
    flex-shrink: 0;
}
.dilekce-item span {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    color: rgba(255,255,255,0.88) !important;
}
.dilekce-item:hover span { color: #fff !important; }

/* Gizli kartlar */
.dilekce-item.gizli { display: none !important; }

/* Bulunamadı mesajı */
.dilekce-bos {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: rgba(255,255,255,0.35);
    font-size: 15px;
    display: none;
}
.dilekce-bos.goster { display: block; }

/* ── TABLET ──────────────────────────────────────────────── */
@media screen and (max-width: 1024px) {
    .dilekce-wrap { padding: 20px 20px 80px; }
    .dilekce-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media screen and (max-width: 860px) {
    .dilekce-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── MOBİL ───────────────────────────────────────────────── */
@media screen and (max-width: 600px) {
    .dilekce-wrap { padding: 14px 12px 80px; }
    .dilekce-baslik { font-size: 22px !important; }

    /* Kategoriler yatay kaydırılabilir */
    .dilekce-kategoriler {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        gap: 6px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .dilekce-kategoriler::-webkit-scrollbar { display: none; }
    .kat-btn { flex-shrink: 0; }

    .dilekce-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    #dilekce-arama {
        font-size: 16px; /* iOS zoom önleme */
        min-height: 50px;
    }

    .dilekce-item {
        padding: 18px 14px !important;
        min-height: 110px !important;
    }
    .dilekce-item span { font-size: 12px !important; }
    .dilekce-item svg { width: 26px; height: 26px; }
}

@media screen and (max-width: 380px) {
    .dilekce-grid { grid-template-columns: 1fr; }
}
