/* Cevabı NET v2 — Minimal Stil */

:root {
    --c-red: #e8342e;
    --c-dark: #1a1a1a;
    --c-text: #3c4043;
    --c-muted: #70757a;
    --c-light: #f8f9fa;
    --c-border: #dfe1e5;
    --c-bg: #fcfcfc;
    --c-link: #1a0dab;
    --c-url: #006621;
    --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== LEGAL PAGES ===== */
.legal-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--c-border);
}

.legal-header h1 {
    font-size: 2.5rem;
    color: var(--c-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-date {
    color: var(--c-muted);
    font-size: 0.9rem;
}

.legal-content {
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--c-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    border-left: 4px solid var(--c-red);
    padding-left: 1rem;
}

.legal-section h3 {
    font-size: 1.2rem;
    color: var(--c-dark);
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 500;
}

.legal-section p {
    margin-bottom: 1rem;
    color: var(--c-text);
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: var(--c-text);
}

.legal-section a {
    color: var(--c-link);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
    background: var(--c-light) !important;
    border-top: 1px solid var(--c-border) !important;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--c-muted) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--c-dark) !important;
    text-decoration: underline;
}

.copyright {
    font-size: 0.85rem;
    color: var(--c-muted);
}

/* ===== CONTACT PAGE ===== */
.contact-wrapper {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-header h2 {
    font-size: 2rem;
    color: var(--c-dark);
    margin-bottom: 0.5rem;
}

.contact-desc {
    color: var(--c-muted);
    font-size: 1.1rem;
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--c-border);
}

.contact-alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--c-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-red);
}

.form-text {
    font-size: 0.85rem;
    color: var(--c-muted);
    margin-top: 0.25rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check input[type="checkbox"] {
    width: auto;
}

.contact-btn {
    background: var(--c-red);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-btn:hover {
    background: #c9302c;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .legal-wrapper {
        margin: 1rem auto;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== MINIBAR ===== */
.minibar {
    background: var(--c-light);
    border-bottom: 1px solid var(--c-border);
    padding: 4px 0;
}
.minibar-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.minibar a {
    color: var(--c-muted);
    text-decoration: none;
    font-size: 12px;
}
.minibar a:hover { color: var(--c-dark); }
.minibar-right { display: flex; gap: 16px; }

/* Searchbar gizle */
.no-searchbar .searchbar { display: none; }

/* ===== SEARCHBAR ===== */
.searchbar {
    border-bottom: 1px solid var(--c-border);
    padding: 8px 0;
    background: var(--c-bg);
}
.searchbar-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.searchbar-form {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 0;
}
.searchbar-form input {
    width: 100%;
    padding: 8px 14px;
    border: 1px solid var(--c-border);
    border-radius: 50px 0 0 50px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.searchbar-form input::placeholder { font-size: 13px; color: #9aa0a6; }
.searchbar-form input:focus { border-color: #aaa; }
.searchbar-btn {
    background: var(--c-red);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 0 50px 50px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.searchbar-btn:hover { background: #d02d27; }

/* ===== ANA SAYFA ===== */
.home-content {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 12px 10px;
}
.home-slogan {
    color: var(--c-muted);
    font-size: 13px;
    margin-top: 16px;
    margin-bottom: 0;
}

/* Kategori etiketleri */
.home-tags {
    margin-top: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 20px;
}
.home-tags a {
    display: inline-block;
    padding: 6px 16px;
    background: var(--c-light);
    color: var(--c-text);
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid var(--c-border);
    transition: background 0.2s;
}
.home-tags a:hover { background: #e9ecef; }
.home-tags::-webkit-scrollbar { height: 4px; }
.home-tags::-webkit-scrollbar-track { background: var(--c-light); }
.home-tags::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 2px; }

/* ===== MOBİL GÖRÜNÜM ===== */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    /* Home-tags mobilde komple gizle */
    .home-tags {
        display: none !important;
    }

    /* Arama çubuğu mobilde temiz */
    .searchbar {
        background: #ffffff;
        border-bottom: 1px solid #e1e5e9;
        padding: 10px 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .searchbar-inner {
        padding: 0 12px;
        gap: 8px;
        overflow: hidden;
    }

    .searchbar-form {
        min-width: 0;
        width: 100%;
    }

    .searchbar-form input {
        background: #ffffff;
        border: 2px solid #e1e5e9;
        padding: 10px 14px;
        font-size: 16px;
        border-radius: 25px 0 0 25px;
        transition: all 0.3s ease;
        color: #1a1a1a;
        font-weight: 400;
        height: 46px;
        box-sizing: border-box;
        min-width: 0;
        flex: 1;
    }

    .searchbar-form input:focus {
        background: #f8f9fa;
        border-color: var(--c-red);
        box-shadow: none;
        outline: none;
    }

    .searchbar-form input::placeholder {
        color: #6c757d;
        opacity: 1;
        font-weight: 400;
    }

    .searchbar-btn {
        background: var(--c-red);
        padding: 10px 16px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 0 25px 25px 0;
        box-shadow: none;
        transition: all 0.2s ease;
        height: 46px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .searchbar-btn:hover {
        background: #d02d27;
    }

    /* Genel mobil iyileştirmeler */
    .container {
        padding: 0 12px;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Sonuç sayfası mobil iyileştirmeleri */
    .results-header {
        padding: 10px 12px 0;
    }

    .search-tabs {
        padding: 0 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .result-item {
        padding: 10px 8px;
        overflow: hidden;
    }

    .result-item .result-header {
        gap: 8px;
    }

    .result-item .result-favicon {
        width: 22px;
        height: 22px;
    }

    .result-item .result-url {
        font-size: 13px;
    }

    .result-item .result-path {
        font-size: 12px;
    }

    .result-item .result-title {
        font-size: 17px;
        line-height: 1.35;
    }

    .result-item .result-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Tab butonları mobilde */
    .tab-btn {
        font-size: 14px;
        padding: 8px 14px;
        white-space: nowrap;
    }

    /* Minibar mobilde */
    .minibar-inner {
        padding: 0 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .minibar-right {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ===== SITE EKLE SAYFASI ===== */

/* Ana form kartı */
.cevabi-site-main-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
}

.cevabi-site-main-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.18);
}

/* Input alanları */
.cevabi-site-input-icon {
    background: #ffffff;
    border: 2px solid #e1e5e9;
    border-right: none;
    border-radius: 0.75rem 0 0 0.75rem;
    padding: 0 1rem;
}

.cevabi-site-input {
    border: 2px solid #e1e5e9;
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cevabi-site-input:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline: none;
}

.cevabi-site-button {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: 2px solid #dc3545;
    border-radius: 0 0.75rem 0.75rem 0;
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.cevabi-site-button:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(220, 53, 69, 0.3);
}

/* Bilgilendirme kartları */
.cevabi-site-info-card {
    border: none;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.cevabi-site-info-card:hover {
    transform: translateY(-1px);
}

.cevabi-site-warning {
    background: #fff3cd;
    box-shadow: 0 0.25rem 0.5rem rgba(255, 193, 7, 0.2);
}

.cevabi-site-info {
    background: #e7f5ff;
    box-shadow: 0 0.25rem 0.5rem rgba(13, 202, 240, 0.2);
}

.cevabi-site-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.cevabi-site-warning .cevabi-site-icon {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
}

.cevabi-site-info .cevabi-site-icon {
    background: rgba(13, 202, 240, 0.2);
    color: #0c5460;
}

.cevabi-site-content {
    flex-grow: 1;
}

.cevabi-site-content strong {
    color: #212529;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    display: block;
}

.cevabi-site-content small {
    color: #6c757d;
    line-height: 1.4;
}

.cevabi-site-content ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
}

.cevabi-site-content li {
    margin-bottom: 0.25rem;
    color: #495057;
    font-size: 0.875rem;
}

.cevabi-site-content li:last-child {
    margin-bottom: 0;
}

/* Sonuç kartı özel stilleri */
.site-add-result {
    background: #ffffff;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.site-add-result .site-add-icon {
    background: rgba(23, 162, 184, 0.2);
    color: #0c5460;
}

.site-add-error {
    background: #f8d7da;
    color: #721c24;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.site-add-success {
    background: #d1e7dd;
    color: #0f5132;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
}

.site-add-result-content {
    margin-bottom: 1rem;
}

.site-add-favicon {
    width: 24px;
    height: 24px;
    border-radius: 0.25rem;
}

.site-add-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.site-add-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.site-add-url {
    font-size: 0.85rem;
    color: #6c757d;
}

.site-add-url a {
    color: #dc3545;
    text-decoration: none;
}

.site-add-url a:hover {
    text-decoration: underline;
}

.site-add-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Özellik kartı */
.cevabi-site-features {
    background: #ffffff;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    max-width: 960px !important;
    margin: 0 auto !important;
}

.cevabi-site-features .cevabi-site-icon {
    background: rgba(220, 53, 69, 0.2);
    color: #721c24;
}

.cevabi-site-feature {
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.cevabi-site-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.cevabi-site-feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cevabi-site-feature h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
}

.cevabi-site-feature p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

.cevabi-site-seo-tips {
    background: #d1e7dd;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.cevabi-site-seo-tips strong {
    color: #0f5132;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.cevabi-site-seo-tips ul {
    margin: 0;
    padding-left: 1.25rem;
}

.cevabi-site-seo-tips li {
    color: #0f5132;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.cevabi-site-seo-tips li:last-child {
    margin-bottom: 0;
}

.alert-sm {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
}

.alert-sm ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.alert-sm li {
    margin-bottom: 0.25rem;
}

.alert-sm li:last-child {
    margin-bottom: 0;
}

/* Neden Cevabı Net kartları */
.card .row .col-md-6 h6 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card .row .col-md-6 p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Input group düzeltmeleri */
.input-group-lg .input-group-text {
    border-right: none;
    background-color: #ffffff;
    border: 2px solid #e1e5e9;
    border-right: 0 !important;
}

.input-group-lg .form-control.border-start-0 {
    border-left: none !important;
    border: 2px solid #e1e5e9;
    border-left: 0 !important;
}

.input-group-lg .form-control.border-start-0:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* ===== SONUÇ SAYFASI ===== */
.results-header {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 20px 0;
}
/* Tablar */
.search-tabs {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--c-border);
    overflow-x: auto;
}
.search-tabs a {
    display: inline-block;
    padding: 10px 16px;
    color: var(--c-muted);
    text-decoration: none;
    font-size: 13px;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color 0.2s;
}
.search-tabs a:hover { color: var(--c-dark); }
.search-tabs a.active {
    color: var(--c-red);
    border-bottom-color: var(--c-red);
    font-weight: 600;
}

/* Sonuç alanı */
.results-body {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px 5px 0px 5px;
}
.results-info {
    color: var(--c-muted);
    font-size: 12px;
    margin-bottom: 16px;
}

/* Web sonuçları */
a.result-item {
    display: block;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.15s;
    cursor: pointer;
    overflow: hidden;
}
a.result-item:hover {
    background: var(--bs-white);
}
.result-item .result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    min-width: 0;
}
.result-item .result-favicon {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    flex-shrink: 0;
    margin-right: 3px;
}
.result-item .result-header-text {
    min-width: 0;
    flex: 1;
}
.result-item .result-url {
    font-size: 14px;
    color: #495057;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.result-item .result-path {
    font-size: 13px;
    color: #626262;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.result-item .result-title {
    font-size: 18px;
    color: var(--c-link);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
a.result-item:hover .result-title { text-decoration: underline; }
.result-item .result-desc {
    font-size: 14px;
    color: var(--c-text);
    line-height: 1.4;
    letter-spacing: 0.1px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Kart sonuçlar (haber, ürün, ilan) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.result-card {
    border: 1px solid var(--c-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--c-bg);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}
.result-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.result-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    flex-shrink: 0;
}
.result-card .card-body {
    padding: 10px 12px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.result-card .card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 4px;
}
.result-card .card-title:hover { color: var(--c-link); }
.result-card .card-meta {
    font-size: 11px;
    color: var(--c-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.result-card .card-desc {
    font-size: 12px;
    color: var(--c-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-top: auto;
}
.result-card .card-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-red);
    margin-top: auto;
}
.result-card .card-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #f0f4ff;
    border-radius: 4px;
    font-size: 11px;
    color: #666;
    margin-right: 4px;
}

/* Haber kartları (yatay) */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news-card {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    background: var(--c-bg);
    transition: box-shadow 0.2s;
}
.news-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.news-card img {
    width: 180px;
    min-height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}
.news-card-body {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}
.news-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 6px;
}
.news-card:hover .news-card-title {
    color: var(--c-link);
}
.news-card-desc {
    font-size: 13px;
    color: var(--c-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    margin-bottom: 6px;
}
.news-card-meta {
    font-size: 11px;
    color: var(--c-muted);
    margin-top: auto;
}

/* E-ticaret kartları */
.product-card-link { text-decoration: none; }
.product-card { height: 300px; }
.product-card .product-img-wrap {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-light);
    flex-shrink: 0;
    overflow: hidden;
}
.product-card .product-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* Filtreler */
.product-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: var(--c-light);
    border: 1px solid var(--c-border);
    border-radius: 10px;
    margin-bottom: 16px;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
}
.filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-muted);
    white-space: nowrap;
}
.filter-group select,
.filter-group input {
    padding: 5px 8px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 12px;
    outline: none;
    background: #fff;
}
.filter-group select:focus,
.filter-group input:focus { border-color: #aaa; }
.filter-group span { color: var(--c-muted); font-size: 12px; }
.filter-btn {
    padding: 5px 14px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    background: var(--c-red);
    color: #fff;
    transition: background 0.2s;
}
.filter-btn:hover { background: #d02d27; }
.filter-btn-clear {
    background: #fff;
    color: var(--c-muted);
    border: 1px solid var(--c-border);
}
.filter-btn-clear:hover { background: var(--c-light); color: var(--c-dark); }

/* ===== WIDGET ===== */
.widget-card {
    background: var(--c-light);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.widget-card h5 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }

/* Tekli döviz kuru kartı */
.exchange-single {
    background: #fff;
    color: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    border: 1.5px solid #1a73e8;
}
.exchange-single-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.exchange-single-icon { font-size: 2.4rem; }
.exchange-single-code { font-size: 20px; font-weight: 700; }
.exchange-single-name { font-size: 12px; color: #666; }
.exchange-single-change {
    margin-left: auto;
    font-size: 15px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f0f4ff;
}
.exchange-single-change.exchange-up { color: #198754; background: #e8f5e9; }
.exchange-single-change.exchange-down { color: #dc3545; background: #fdecea; }
.exchange-single-rates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #f5f7fb;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
}
.exchange-single-rate {
    flex: 1;
    text-align: center;
}
.exchange-single-label {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.exchange-single-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
}
.exchange-single-divider {
    width: 1px;
    height: 40px;
    background: #dde4f0;
    margin: 0 16px;
}
.exchange-single-footer {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 11px;
}

/* Hesaplama aracı */
.exchange-calc {
    margin-top: 16px;
    background: #f0f4ff;
    border-radius: 10px;
    padding: 14px 16px;
}
.exchange-calc-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.exchange-calc-field {
    flex: 1;
}
.exchange-calc-field label {
    display: block;
    font-size: 11px;
    color: #1a73e8;
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.exchange-calc-field input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #c8d6e5;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s;
}
.exchange-calc-field input:focus {
    border-color: #1a73e8;
    background: #fff;
}
.exchange-calc-arrow {
    font-size: 18px;
    color: #1a73e8;
    margin-top: 18px;
    background: none;
    border: 1.5px solid #1a73e8;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.exchange-calc-arrow:hover {
    background: #1a73e8;
    color: #fff;
    transform: rotate(180deg);
}

/* Döviz tablosu */
.exchange-table { width: 100%; font-size: 13px; }
.exchange-table td { padding: 4px 8px; }
.exchange-table .up { color: #198754; }
.exchange-table .down { color: #dc3545; }
.exchange-table tbody tr {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.exchange-table tbody tr:hover {
    transform: scale(1.01);
    background: #dbe8ff;
    box-shadow: 0 2px 8px rgba(26,115,232,0.1);
}

.weather-widget .temp { font-size: 2.2rem; font-weight: 700; }
.weather-widget .condition { font-size: 13px; color: var(--c-muted); }
.weather-forecast { display: flex; gap: 12px; margin-top: 8px; }
.weather-forecast .day { text-align: center; font-size: 12px; }

.prayer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.prayer-item { text-align: center; padding: 6px; background: #fff; border-radius: 6px; }
.prayer-item .name { font-size: 11px; color: var(--c-muted); }
.prayer-item .time { font-size: 14px; font-weight: 600; }

/* AI cevap */
#aiArea .card { border-left: 3px solid var(--c-red); border-radius: 10px; }

/* Sonuç yok */
.no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--c-muted);
}
.no-results h3 { font-size: 16px; color: var(--c-dark); margin-bottom: 8px; }

/* Footer — sticky bottom */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}
footer {
    text-align: center;
    padding: 6px;
    color: var(--c-muted);
    font-size: 12px;
    border-top: 1px solid var(--c-border);
    margin-top: auto;
}

/* ===== PANEL ===== */
:root {
    --p-bg: #f0f2f5;
    --p-sidebar: #1e293b;
    --p-sidebar-hover: #334155;
    --p-card: #ffffff;
    --p-border: #e2e8f0;
    --p-text: #334155;
    --p-muted: #94a3b8;
    --p-accent: #3b82f6;
    --p-accent-hover: #2563eb;
    --p-success: #10b981;
    --p-warning: #f59e0b;
    --p-danger: #ef4444;
    --p-info: #06b6d4;
    --p-radius: 10px;
    --p-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --p-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
}

/* Panel body override */
body.panel-body {
    background: var(--p-bg);
    font-size: 13.5px;
    color: var(--p-text);
}
body.panel-body .minibar,
body.panel-body .searchbar,
body.panel-body footer { display: none; }

/* Panel Header / Navbar */
.panel-header {
    background: var(--p-sidebar);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.panel-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.panel-logo {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 0;
    letter-spacing: -0.3px;
    flex-shrink: 0;
}
.panel-logo span {
    color: var(--p-accent);
    font-weight: 500;
    font-size: 13px;
    margin-left: 6px;
}
.panel-nav {
    display: flex;
    gap: 0;
    flex: 1;
    overflow-x: auto;
}
.panel-nav::-webkit-scrollbar { display: none; }
.panel-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 14px 16px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.panel-nav a:hover {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.05);
}
.panel-nav a.active {
    color: #fff;
    border-bottom-color: var(--p-accent);
    background: rgba(255,255,255,0.05);
}

/* Panel Cards */
.p-card {
    background: var(--p-card);
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    box-shadow: var(--p-shadow);
    overflow: hidden;
}
.p-card-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--p-border);
    font-weight: 600;
    font-size: 14px;
    color: var(--p-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fafbfc;
}
.p-card-body {
    padding: 20px;
}
.p-card-body.p-0 { padding: 0; }

/* Stat Cards */
.p-stat {
    background: var(--p-card);
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    padding: 20px;
    box-shadow: var(--p-shadow);
    transition: transform 0.15s, box-shadow 0.15s;
}
.p-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--p-shadow-md);
}
.p-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}
.p-stat-icon.blue { background: #dbeafe; color: #2563eb; }
.p-stat-icon.green { background: #d1fae5; color: #059669; }
.p-stat-icon.yellow { background: #fef3c7; color: #d97706; }
.p-stat-icon.red { background: #fee2e2; color: #dc2626; }
.p-stat-icon.purple { background: #ede9fe; color: #7c3aed; }
.p-stat-icon.cyan { background: #cffafe; color: #0891b2; }
.p-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--p-text);
    line-height: 1;
    margin-bottom: 4px;
}
.p-stat-label {
    font-size: 12.5px;
    color: var(--p-muted);
    font-weight: 500;
}

/* Panel Buttons */
.p-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    line-height: 1.4;
}
.p-btn-primary { background: var(--p-accent); color: #fff; }
.p-btn-primary:hover { background: var(--p-accent-hover); color: #fff; }
.p-btn-success { background: var(--p-success); color: #fff; }
.p-btn-success:hover { background: #059669; color: #fff; }
.p-btn-danger { background: var(--p-danger); color: #fff; }
.p-btn-danger:hover { background: #dc2626; color: #fff; }
.p-btn-warning { background: var(--p-warning); color: #fff; }
.p-btn-warning:hover { background: #d97706; color: #fff; }
.p-btn-ghost {
    background: transparent;
    color: var(--p-text);
    border: 1px solid var(--p-border);
}
.p-btn-ghost:hover { background: #f1f5f9; color: var(--p-text); }
.p-btn-sm { padding: 4px 10px; font-size: 12px; }
.p-btn-xs { padding: 2px 8px; font-size: 11px; border-radius: 5px; }
.p-btn-icon {
    width: 30px; height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    border: 1px solid var(--p-border);
    background: #fff;
    color: var(--p-muted);
    cursor: pointer;
    transition: all 0.15s;
    font-size: 14px;
}
.p-btn-icon:hover { background: #f1f5f9; color: var(--p-text); }
.p-btn-icon.danger:hover { background: #fef2f2; color: var(--p-danger); border-color: #fecaca; }
.p-btn-icon.success:hover { background: #ecfdf5; color: var(--p-success); border-color: #a7f3d0; }
.p-btn-icon.primary:hover { background: #eff6ff; color: var(--p-accent); border-color: #bfdbfe; }

/* Panel Tables */
.p-table {
    width: 100%;
    font-size: 13px;
    border-collapse: collapse;
}
.p-table thead th {
    padding: 10px 14px;
    font-weight: 600;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--p-muted);
    border-bottom: 1px solid var(--p-border);
    background: #fafbfc;
    white-space: nowrap;
}
.p-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.p-table tbody tr:hover { background: #f8fafc; }
.p-table tbody tr:last-child td { border-bottom: none; }

/* Panel Badges */
.p-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
}
.p-badge-success { background: #d1fae5; color: #065f46; }
.p-badge-danger { background: #fee2e2; color: #991b1b; }
.p-badge-warning { background: #fef3c7; color: #92400e; }
.p-badge-info { background: #cffafe; color: #155e75; }
.p-badge-muted { background: #f1f5f9; color: #64748b; }
.p-badge-primary { background: #dbeafe; color: #1e40af; }
.p-badge-dark { background: #1e293b; color: #fff; }

/* Panel Filter Tabs */
.p-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.p-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: var(--p-muted);
    background: var(--p-card);
    border: 1px solid var(--p-border);
    transition: all 0.15s;
    cursor: pointer;
}
.p-tab:hover { color: var(--p-text); border-color: #cbd5e1; background: #f8fafc; }
.p-tab.active {
    background: var(--p-accent);
    color: #fff;
    border-color: var(--p-accent);
}
.p-tab .count {
    background: rgba(0,0,0,0.08);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.p-tab.active .count { background: rgba(255,255,255,0.25); }

/* Panel Inputs */
.p-input {
    padding: 7px 12px;
    border: 1px solid var(--p-border);
    border-radius: 7px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #fff;
    color: var(--p-text);
}
.p-input:focus {
    border-color: var(--p-accent);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.p-select {
    padding: 7px 12px;
    border: 1px solid var(--p-border);
    border-radius: 7px;
    font-size: 13px;
    outline: none;
    background: #fff;
    color: var(--p-text);
    cursor: pointer;
}
.p-select:focus { border-color: var(--p-accent); }

/* Panel Alert */
.p-alert {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.p-alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.p-alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.p-alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.p-alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.p-alert .close-alert {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.5;
    font-size: 16px;
    background: none;
    border: none;
    color: inherit;
}
.p-alert .close-alert:hover { opacity: 1; }

/* Panel Grid */
.p-grid { display: grid; gap: 20px; }
.p-grid-2 { grid-template-columns: repeat(2, 1fr); }
.p-grid-3 { grid-template-columns: repeat(3, 1fr); }
.p-grid-4 { grid-template-columns: repeat(4, 1fr); }
.p-grid-5 { grid-template-columns: repeat(5, 1fr); }
.p-grid-6 { grid-template-columns: repeat(6, 1fr); }

/* Panel Page Layout */
.p-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}
.p-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}
.p-page-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--p-text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.p-page-title .subtitle {
    font-size: 14px;
    font-weight: 400;
    color: var(--p-muted);
}

/* Panel Toolbar */
.p-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

/* Panel Pagination */
.p-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
}
.p-pagination a, .p-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: var(--p-text);
    border: 1px solid var(--p-border);
    background: #fff;
    transition: all 0.15s;
}
.p-pagination a:hover { background: #f1f5f9; }
.p-pagination .active {
    background: var(--p-accent);
    color: #fff;
    border-color: var(--p-accent);
}
.p-pagination .disabled { opacity: 0.4; pointer-events: none; }

/* Panel Modal Overrides */
.p-modal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.p-modal .modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--p-border);
    background: #fafbfc;
    border-radius: 12px 12px 0 0;
}
.p-modal .modal-header .modal-title {
    font-size: 15px;
    font-weight: 600;
}
.p-modal .modal-body { padding: 20px; }
.p-modal .modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--p-border);
    background: #fafbfc;
    border-radius: 0 0 12px 12px;
}

/* Panel Empty State */
.p-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--p-muted);
}
.p-empty-icon { font-size: 36px; margin-bottom: 12px; opacity: 0.5; }
.p-empty-text { font-size: 14px; }

/* Progress bar */
.p-progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}
.p-progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s;
}

/* Dot indicator */
.p-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.p-dot-green { background: var(--p-success); }
.p-dot-red { background: var(--p-danger); }
.p-dot-yellow { background: var(--p-warning); }
.p-dot-blue { background: var(--p-accent); }
.p-dot-pulse {
    animation: dotPulse 1.5s infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hamburger menu toggle — hidden on desktop */
.panel-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.panel-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.2s;
}

/* Responsive panel */
@media (max-width: 1024px) {
    .p-grid-4, .p-grid-5, .p-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .p-page { padding: 16px; }
}
@media (max-width: 768px) {
    /* Header: hamburger menü */
    .panel-menu-toggle { display: flex; }
    .panel-header-inner {
        padding: 0 12px;
        gap: 12px;
        flex-wrap: wrap;
    }
    .panel-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 8px;
    }
    .panel-nav.open { display: flex; }
    .panel-nav a {
        padding: 10px 16px;
        font-size: 13px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    .panel-nav a.active {
        border-left-color: var(--p-accent);
        border-bottom: none;
        background: rgba(255,255,255,0.08);
    }
    .panel-nav a:hover { background: rgba(255,255,255,0.06); }

    /* Grid */
    .p-grid-2, .p-grid-3, .p-grid-4, .p-grid-5, .p-grid-6 { grid-template-columns: repeat(2, 1fr); }

    /* Page header */
    .p-page-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .p-page-title { font-size: 17px; }
    .p-page-title .subtitle { font-size: 12px; }

    /* Stat cards */
    .p-stat { padding: 12px; }
    .p-stat-value { font-size: 20px; }
    .p-stat-label { font-size: 11px; }
    .p-stat-icon { width: 32px; height: 32px; font-size: 14px; }

    /* Tables: horizontal scroll */
    .p-card-body.p-0, .p-card-body:has(.p-table) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .p-table { min-width: 600px; }
    .p-table th, .p-table td { padding: 8px 10px; font-size: 12px; }

    /* Toolbar */
    .p-toolbar { flex-direction: column; align-items: stretch; }
    .p-toolbar form { flex-direction: column; }

    /* Tabs */
    .p-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
    .p-tab { white-space: nowrap; font-size: 12px; padding: 6px 10px; }

    /* Buttons */
    .p-btn { font-size: 12px; padding: 6px 12px; }
    .p-btn-sm { font-size: 11px; padding: 5px 10px; }

    /* Cards */
    .p-card-header { padding: 12px 14px; font-size: 13px; }
    .p-card-body { padding: 14px; }

    /* Alerts */
    .p-alert { font-size: 12px; padding: 8px 12px; }

    /* Pagination */
    .p-pagination a, .p-pagination span { min-width: 28px; height: 28px; font-size: 12px; }
}
@media (max-width: 480px) {
    .p-grid-2, .p-grid-3, .p-grid-4 { grid-template-columns: 1fr; }
    .p-page { padding: 12px; }
    .p-page-title { font-size: 15px; }
    .p-stat-value { font-size: 18px; }

    /* Forms */
    .p-input, .p-select { font-size: 14px; padding: 8px 10px; }
    textarea.p-input { font-size: 13px; }
}

/* ===== İLETİŞİM ===== */
.contact-wrapper {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px 20px;
}
.contact-wrapper h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 4px;
}
.contact-desc {
    color: var(--c-muted);
    font-size: 13px;
    margin-bottom: 24px;
}
.contact-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}
.contact-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.contact-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.contact-form .form-group {
    margin-bottom: 16px;
}
.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-dark);
    margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #aaa; }
.contact-form textarea { resize: vertical; }
.contact-btn {
    background: var(--c-red);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-btn:hover { background: #d02d27; }

/* Kırık resim */
img[src=""], img:not([src]) { display: none; }

/* Truncate */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== RESPONSIVE (ek kurallar) ===== */
@media (max-width: 768px) {
    .search-tabs a { padding: 8px 10px; font-size: 13px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card img { width: 120px; min-height: 90px; }
    .news-card-title { font-size: 15px; }
    .news-card-desc { font-size: 13px; -webkit-line-clamp: 2; line-clamp: 2; }
    .weather-forecast { flex-wrap: wrap; }
    .prayer-grid { grid-template-columns: repeat(2, 1fr); }
    .h3, h3 { font-size: 20px; }
}
.h3, h3 { font-size: 1.25rem; }