/* Main Styles for AtasoyWeb */

/* Color Variables */
:root {
    --accent-light-blue: rgb(175, 224, 239); /* #AFE0EF */
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* Material Symbols Support */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
    font-size: 1em;
    vertical-align: middle;
}

.material-symbols-outlined.filled {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

.material-symbols-outlined.large {
    font-size: 2em;
}

.material-symbols-outlined.xlarge {
    font-size: 3em;
}

.material-symbols-outlined.small {
    font-size: 0.8em;
}

/* Icon button styles */
.btn .material-symbols-outlined {
    margin-right: 5px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    /* scale kaldırıldı: layout/boşluk sorunlarına yol açmaması için */
}

/* Feature icon styles */
.feature-icon .material-symbols-outlined {
    font-size: 3rem;
    color: #2c5aa0;
}

/* Comment avatar styles */
.comment-avatar .material-symbols-outlined {
    font-size: 1.9rem;
    color: #2c5aa0;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f9fc;
}

/* Main Content */
main {
    margin-top: 72px;
    padding: 10px 0;
    min-height: calc(100vh - 80px);
    width: 100%;
}

/* Section Styles */
.section-tasarim {
    margin-top: 0;
    margin-bottom: 28px;
    padding: 15px 28px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 60% !important;
    max-width: 60% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Section içindeki div'lerin genişlemesi */
.section-tasarim > * {
    width: 100%;
    max-width: 100%;
}

/* About + Contact sayfaları: içerik kolonunu daralt (section içi %65) */
.section-content-65 {
    width: 70%;
    max-width: 70%;
    margin: 14px auto 0; /* section başlığından sonra boşluk */
}

.section-content-65 > * {
    width: 100%;
    max-width: 100%;
}

/* İletişim sayfası: Sosyal medya başlığının üstünde 3 satır boşluk */
.section-content-65 .social-media-baslik {
    margin-top: 2em;
    margin-bottom: 2em;
}

/* Sosyal medya hesapları listesinin altına ekstra 1 satır boşluk */
.section-content-65 .divsosyalmedya {
    margin-top: 0;
    margin-bottom: calc(14px + 3em);
}

.section-baslik {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5aa0;
    margin: 0;
    margin-bottom: 0;
}

.section-metin {
    font-size: 0.7rem;
    color: #666;
    margin: 0;
    margin-bottom: 0;
    line-height: 1.55;
}

/* Sürüm tablosu: section-metin tipografisi, renkleri bozma */
.TabloOzellik.section-metin,
.TabloOzellik.section-metin td,
.TabloOzellik.section-metin th {
    color: inherit; /* section-metin'in #666 rengini tabloya dayatma */
}

.section-metin2 {
    /* Not: Daha önce aynı blokta ikinci font-size (16px) vardı, küçültmeyi eziyordu. */
    font-size: 0.85rem;
    color: #666;
    line-height: 1.55;
    margin: 0;
    margin-left: 20px;
    text-align: justify;
}

/* Detaylı açıklama: paragraf girintisi (Word TAB benzeri) */
.section-metin2 p.indent {
    text-indent: 2em;
    margin: 0;
}

@media (max-width: 768px) {
    .section-metin2 p.indent {
        text-indent: 1.25em;
    }
}

/* Detaylı açıklama içindeki listeler: numaralar taşmasın */
.section-metin2 ol,
.section-metin2 ul {
    margin: 6px 0;
    padding-left: 1.2rem;
    list-style-position: inside; /* marker içeride kalsın (mobilde kırpılmasın) */
}

.section-metin2 ul {
    list-style-type: circle;
}

.section-metin2 li {
    margin: 2px 0;
}

/* Detaylı açıklama link rengi: gereksinim hover rengiyle aynı */
.section-metin2 a {
    color: #177995;
    text-decoration: none;
}

.section-metin2 a:hover {
    color: #177995;
    text-decoration: none;
}

.section-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* ikon/metin arası daha az */
    padding: 7px 12px; /* iç boşluk biraz daha azaltıldı (orantılı) */
    background: #2c5aa0;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.78rem;
}

.section-button .material-symbols-outlined {
    /* ikon çok küçülmesin */
    font-size: 1.45em;
    margin-right: 0; /* gap kullanılıyor */
    vertical-align: middle;
}

.section-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
    color: white;
    text-decoration: none;
    background: #1e3a6b;
}

/* Program Features Grid */
.program-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5px;
    margin: 0;
    width: 100% !important;
    max-width: 100% !important;
}

.feature-card {
    background: #ffffff;
    padding: 6px 5px 0px 5px; /* kart içi üst + sağ/sol boşluk */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
padding-bottom: 10px;
    /* Anasayfa: ana öğeler arası dikey boşluk */
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feature-card:hover {
    transform:translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Program kartlarındaki ikonlar: masaüstünde 32x32px (mobilde dokunma) */
@media (min-width: 769px) {
    .program-features .feature-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0; /* kart başlığında ekstra boşluk olmasın */
        flex-shrink: 0;
    }

    .program-features .feature-icon img {
        width: 32px !important;
        height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        object-fit: contain !important;
    }

    .program-features .feature-icon .material-symbols-outlined,
    .program-features .feature-icon .material-symbols-outlined.xlarge {
        font-size: 32px !important;
        line-height: 32px;
        display: block;
        width: 32px;
        height: 32px;
    }
}

.feature-icon img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    max-width: 2.5rem !important;
    max-height: 2.5rem !important;
    object-fit: contain !important;
}

.feature-card h3 {
    font-size: 1rem;
    color: #2c5aa0;
    margin-bottom: 0px;
}

/* Video Container */
.video-container {
    width: 100%;
    margin: 0;
    margin-bottom: 0;
    border-radius: 10px;
}

.video-container .video-wrapper[style*="display: none"] {
    margin-bottom: 0;
}

.video-container .video-wrapper:not([style*="display: none"]) {
    margin-bottom: 15px;
}

.video-container h4 {
    margin: 0;
    margin-bottom: 0;
    color: #2c5aa0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 2px 0;
    padding-bottom: 0;
    border-bottom: 2px solid #e3eaf6;
    background: #fff;
    position: relative;
    z-index: 10;
}

/* Anasayfa: "Ne İşe Yarar?" ve "Kurulum - Kullanım Videoları" başlıklarını yarıya indir */
.homepage-program-features .video-container h4 {
    font-size: 0.8rem !important;
}

/* Anasayfa: "Programı İndir / Programa Git" başlığı */
.homepage-program-features .download-section h3 {
    font-size: 0.8rem !important;
}

/* Anasayfa: video başlık ikonlarını küçült (sadece desktop) */
@media (min-width: 769px) {
    .homepage-program-features .video-toggle-icon {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
    }
}

/* Anasayfa: yorum gönderme tablosu başlığı ("... için yorum yapın") */
.homepage-program-features .TabloYorumGonder h3 {
    font-size: 0.8rem !important;
}

/* Anasayfa: yorum yapma formu (başlık hariç) yazıları = section-metin */
.homepage-program-features .TabloYorumGonder td,
.homepage-program-features .TabloYorumGonder input,
.homepage-program-features .TabloYorumGonder textarea,
.homepage-program-features .TabloYorumGonder .TextBox,
.homepage-program-features .TabloYorumGonder .section-button,
.homepage-program-features .TabloYorumGonder button {
    font-size: 0.65rem !important;
}

/* Anasayfa: yanıt verme formu (reply-form) textbox + td içerikleri yorum formuyla aynı */
.homepage-program-features .reply-form .TabloYorumGonder td,
.homepage-program-features .reply-form .TabloYorumGonder input,
.homepage-program-features .reply-form .TabloYorumGonder textarea,
.homepage-program-features .reply-form .TabloYorumGonder .TextBox,
.homepage-program-features .reply-form .TabloYorumGonder .section-button,
.homepage-program-features .reply-form .TabloYorumGonder button {
    font-size: 0.65rem !important;
}

/* Anasayfa: yorum gönderme formu dikey boşlukları azalt */
.homepage-program-features .TabloYorumGonder {
    margin-top: 2px !important;
    padding: 4px !important; /* global table padding (8px) ez */
}

.homepage-program-features .TabloYorumGonder td,
.homepage-program-features .TabloYorumGonder th {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

.homepage-program-features .TabloYorumGonder .TextBox,
.homepage-program-features .TabloYorumGonder input.TextBox,
.homepage-program-features .TabloYorumGonder textarea.TextBox {
    padding: 3px 6px !important;
}

.homepage-program-features .TabloYorumGonder .txtYorumm {
    min-height: 70px !important;
}

/* Anasayfa: yorum kalan karakter göstergesi */
.homepage-program-features .comment-char-counter {
    display: block;
    margin-top: 1px;
    margin-bottom: 0;
    color: #666;
    font-size: 0.6rem;
    line-height: 1.2;
    text-align: right;
}

/* İsim/E-posta etiketlerinin bulunduğu td: dikeyde ortala + sağa hizala (genel, mobil de dahil) */
.homepage-program-features .TabloYorumGonder td.comment-label-middle,
.homepage-program-features .reply-form .TabloYorumGonder td.reply-label-middle,
.homepage-program-features .TabloYorumGonder td.reply-label-middle {
    text-align: right !important;
    vertical-align: middle !important;
}

.video-wrapper {
   position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(44,90,160,0.15);
    margin-top: -10px; /* Transform scale boşluğunu telafi etmek için negatif margin */
    margin-bottom: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Download Section */
.download-section {
    margin: 0;
    padding: 0 5px; /* sol-sağ iç boşluk */
    background: #f8f9fa;
    border-radius: 10px;
}

/* Mobil görünümde transform scale kullanılmıyor */
@media (min-width: 769px) {
    .download-section {
        /* scale kaldırıldı: boşluk telafileri artık gereksiz */
        margin-top: 0;
        margin-bottom: 0;
    }
}

.download-section h4 {
    color: #2c5aa0;
    margin: 0;
    margin-bottom: 2px;
}

h3{
color: #2c5aa0;
    margin: 0;
    margin-bottom: 2px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* ikon/metin arası daha az */
    /* Anasayfa/Programlar: section-button ile uyumlu kompakt boyut */
    padding: 8px 10px; /* sağ/sol iç boşluk biraz daha azaltıldı */
    background: #2c5aa0;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 0px;
margin-bottom: 10px;
    font-size: 0.72rem;
}

.download-button .material-symbols-outlined {
    /* section-button'dan biraz küçük */
    font-size: 1.3em;
    margin-right: 0; /* gap kullanılıyor */
    vertical-align: middle;
}

.download-button:hover {
    background: #1e3a6b;
    color: white;
    text-decoration: none;
}

/* Comment Styles */
/* --- Modern Facebook-like Nested Comments --- */
.comment-card {
    background: #fff;
    border-radius: 8px;
    padding: 3px 8px;
    margin: 1px 0;
    box-shadow: none;
    position: relative;
    border: 1px solid #2c5aa0;
    width: 100%;
    box-sizing: border-box;    
    transform-origin: top center;
}

/* Tüm yorumlar beyaz arka plan */
.comment-card:first-child {
    background: #fff;
}

.comment-card:nth-child(odd) {
    background: #fff;
}

.comment-card:nth-child(even) {
    background: #fff;
}

/* Yorumlara hover efekti */
.comment-card:hover {
    background: #f2f3f5;
    transition: background 0.2s;
}

/* Yanıt hover edildiğinde parent yorum beyaz olsun */
.comment-card:has(.reply-item:hover) {
    background: #fff !important;
}

/* Yanıt hover edildiğinde parent yorumun hover'ını iptal et (fallback) */
.comment-card:hover:has(.reply-item:hover) {
    background: #fff !important;
}

.reply-item {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #2c5aa0;
    box-shadow: none;
    padding: 2px 6px;
    position: relative;
    transition: background 0.2s;
}

/* Tüm yanıtlar beyaz arka plan */
.reply-item:nth-child(odd) {
    background: #fff;
}

.reply-item:nth-child(even) {
    background: #fff;
}

.reply-item .reply-item {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
    background: #fff;
    border: 1px solid #2c5aa0;
    border-radius: 8px;
    padding: 2px 6px;
}

.reply-item .reply-item .reply-item {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
    background: #fff;
    border: 1px solid #2c5aa0;
    border-radius: 8px;
    padding: 2px 6px;
}

/* Hover efektleri - sadece direkt hover edilen yanıt için */
.reply-item:hover {
    background: #f2f3f5;
    border-radius: 8px;
}

/* İç içe yanıtlarda hover efekti - sadece direkt hover edilen için */
.reply-item .reply-item:hover {
    background: #f2f3f5;
}

.reply-item .reply-item .reply-item:hover {
    background: #f2f3f5;
}

/* Parent hover edildiğinde içindeki child yanıtlar beyaz kalsın (override) */
.reply-item:hover .reply-item {
    background: #fff !important;
}

.reply-item:hover .reply-item:hover {
    background: #f2f3f5 !important;
}

.reply-item .reply-item:hover .reply-item {
    background: #fff !important;
}

.reply-item .reply-item:hover .reply-item:hover {
    background: #f2f3f5 !important;
}

/* İç içe yanıtlarda: child yanıt hover edildiğinde parent yanıt beyaz olsun */
.reply-item:has(.reply-item:hover) {
    background: #fff !important;
}

.reply-item:hover:has(.reply-item:hover) {
    background: #fff !important;
}

.reply-item .reply-item:has(.reply-item:hover) {
    background: #fff !important;
}

.reply-item .reply-item:hover:has(.reply-item:hover) {
    background: #fff !important;
}

.comment-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0px;
    margin-top: 0px;
    gap: 6px;
}

/* Yanıtlarda header düzeni - avatar solda, isim sağında */
.reply-item .comment-header {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start;
}

.reply-item .comment-meta {
    flex: 0 1 auto;
    text-align: left;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e4e6eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-right: 0;
    color: #65676b;
    box-shadow: none;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.1);
}

.comment-meta {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* Yanıtlarda meta düzeni */
.reply-item .comment-meta {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.comment-author {
    font-weight: 600;
    color: #050505;
    font-size: 0.8rem !important;
    margin-bottom: 0;
    line-height: 1.3;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

/* Yanıtlarda isim hizalaması */
.reply-item .comment-author {
    text-align: left;
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.comment-date {
    color: #65676b;
    font-size: 0.7rem !important;
    margin-top: 0;
    white-space: nowrap;
    margin-left: 0;
    font-weight: normal;
}

.comment-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.comment-content {
    color: #050505;
    line-height: 1.3;
    margin-bottom: 0px;
    margin-top: 0px;
    font-size: 0.7rem;
    word-wrap: break-word;
    text-align: left;
    width: 100%;
}

.comment-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0;
    margin-top: 0px;
    padding-top: 0px;
    justify-content: flex-end;
    width: 100%;
}

.comment-action {
    background: none;
    color: #65676b;
    border: none;
    padding: 3px 6px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.7rem !important;
    transition: background 0.18s, color 0.18s;
    font-weight: 600;
    opacity: 1;
}

.comment-action:hover {
    background: #f2f3f5;
    color: #050505;
    opacity: 1;
}
.reply-form {
    display: none;
    margin-top: 0 !important;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    background: rgb(240, 248, 255); /* Alice Blue - çok açık mavi, gözü yormuyor */
    border-radius: 8px;
    border: none;
    box-shadow: none;
}

.reply-form h4 {
    color: #050505;
    margin-bottom: 0;
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Facebook benzeri görsel bağlantı çizgisi kaldırıldı - daha temiz görünüm */
.reply-item:before {
    display: none;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: 6px;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.admin-badge {
    background: #1877f2;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 6px;
    vertical-align: middle;
    font-weight: 600;
    display: inline-block;
}

/* Form Styles */
.TextBox {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    letter-spacing: 1px;
}

.TextBox:focus {
    outline: none;
    border-color: #2c5aa0;
}

.txtYorumm {
    min-height: 100px;
    resize: vertical;
    max-width: 500px;
    max-height: 150px;
}

/* Admin: Detailed Description toolbar */
.dd-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 6px;
}

.dd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-width: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #2c5aa0;
    background: #fff;
    color: #2c5aa0;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.dd-btn:hover {
    background: #eaf1fb;
}

@media (max-width: 768px) {
    .dd-toolbar {
        gap: 6px;
    }
    .dd-btn {
        height: 28px;
        min-width: 36px;
        padding: 0 8px;
        font-size: 0.72rem;
        border-radius: 7px;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #2c5aa0;
    color: white;
}

.btn-primary:hover {
    background: #1e3a6b;
    color: white;
}

.btn-success {
    background: #2c5aa0;
    color: white;
}

.btn-success:hover {
    background: #1e3a6b;
    color: white;
}

.btn-warning {
    background: #2c5aa0;
    color: white;
}

.btn-warning:hover {
    background: #1e3a6b;
    color: white;
}

.btn-danger {
    background: #2c5aa0;
    color: white;
}

.btn-danger:hover {
    background: #1e3a6b;
    color: white;
}

/* Admin Panel Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: #f8f9fa;
}

.admin-sidebar {
    width: 250px;
    background: #2c5aa0;
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar h2 {
    text-align: center;
    margin-bottom: 15px;
    padding: 0 20px;
    font-size: 1.5rem;
}

.admin-nav {
    list-style: none;
    padding: 0;
}

.admin-nav li {
    margin: 0;
}

.admin-nav a {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
    border-left: 3px solid transparent;
}

.admin-nav a .material-symbols-outlined {
    margin-right: 10px;
    font-size: 1.2em;
}

.admin-nav a .nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.admin-nav a:hover .nav-icon {
    filter: brightness(1) invert(0);
}

.admin-nav a.active .nav-icon {
    filter: brightness(1) invert(0);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #ffffff;
}

.admin-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

.admin-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-section.hidden {
    display: none;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.admin-header h1 {
    color: #2c5aa0;
    margin: 0;
}

.admin-header p {
    color: #666;
    margin: 0;
}

/* Admin Tables */
.admin-table {
    overflow-x: auto;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

/* Clickable stat cards */
.stat-card.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.stat-card.clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.2);
    background: linear-gradient(135deg, #2c5aa0, #1e3a6b);
}

.stat-card.clickable:hover .stat-number,
.stat-card.clickable:hover .stat-label {
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 8px 0 8px 0;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin: 0;
    color: #2c5aa0;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #000;
}

/* Form Groups */
.form-group {
    margin-bottom: 12px;
    padding: 0 12px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #e9ecef;
}


/* Table Styles */
table {  
    width: 100%;
    margin-top: 5px;
    background-image: linear-gradient(79deg, rgb(238, 238, 238), rgb(255, 255, 255));                 
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 8px;
}

th, td {
    padding: 2px;    
}

/* TabloOzellik Styles */
.TabloOzellik {
    /* index.php içinde inline padding:0px var; soldan-sağdan 5px uygulamak için */
    padding-left: 5px !important;
    padding-right: 5px !important;
    /* Genel table width:100% kuralını ez: başlık/içerik birbirine yaklaşsın */
    width: auto !important;
    display: inline-table;
    margin-left: auto;
    margin-right: auto;
    table-layout: auto;
    border-collapse: collapse;
}

.TabloOzellik td,
.TabloOzellik th {
    vertical-align: top;
    padding-left: 4px;
    padding-right: 4px;
}

/* Etiket/değer sütunlarını sabitle:
   1/3/5 = etiket (sağa), 2/4/6 = içerik (sola) */
.TabloOzellik td:nth-child(odd),
.TabloOzellik th:nth-child(odd) {
    text-align: right;
    font-weight: 600;
}

.TabloOzellik td:nth-child(even),
.TabloOzellik th:nth-child(even) {
    text-align: left;
    font-weight: normal;
}

.TabloOzellik td:first-child, .TabloOzellik th:first-child {     
    text-align: right;
    font-weight: bold;
}

.TabloOzellik td:last-child, .TabloOzellik th:last-child {
    text-align: left;    
}

.TabloOzellik a {
    color: #177995 !important;
    text-decoration: none !important;
}

.TabloOzellik a:visited {
    color: #177995 !important;
    text-decoration: none !important;
}

.TabloOzellik a:hover {
    color: #177995 !important;
    text-decoration: none !important;
}

/* TabloYorumGonder Styles */
.YorumTablosu {
    /* Mobil görünümde transform scale kullanılmıyor */
}

/* Mobil görünümde transform scale kullanılmıyor */
@media (min-width: 769px) {
    .YorumTablosu {
        /* scale kaldırıldı: boşluk telafileri artık gereksiz */
        transform: none;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.TabloYorumGonder {
    margin-top: 5px;
}

.TabloYorumGonder tr:not(:first-child):not(:last-child) td:first-child,
.TabloYorumGonder tr:not(:first-child):not(:last-child) th:first-child {
    text-align: right;
    vertical-align: top;
}

.TabloYorumGonder tr:not(:first-child):not(:last-child) td:nth-child(2),
.TabloYorumGonder tr:not(:first-child):not(:last-child) th:nth-child(2) {
    vertical-align: top;
}

.TabloYorumGonder tr:not(:first-child):not(:last-child) td:nth-child(3),
.TabloYorumGonder tr:not(:first-child):not(:last-child) th:nth-child(3) {
    text-align: right;
}

/* TabloYorumlar Styles */
.TabloYorumlar {
    margin-top: 0;
}

/* TabloBaslik Styles */
.TabloBaslik {
    display: block;
    margin: 0;
    margin-top: -3%; /* YorumTablosu ile arasındaki boşluğu azaltmak için */
    margin-bottom: 2px;
}

.TabloAciklama {
    color: darkgray;
}

/* Social Media Styles */
.divsosyalmedya {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
    padding: 0;
}

.sym {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.SosyalMedya {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 6px;
}

.divsosyalmedya a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
}

.divsosyalmedya a:hover {
    color: #1e3a6b;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.buttoncls{
padding: 0 10px 5px 10px; margin-top: -8px;
}

/* Programlar sayfası: "Daha fazlası..." butonu alt boşluğu daha az */
.program-features .buttoncls{
    padding-bottom: 2px;
    /* butonu kartın altına it */
    margin-top: auto !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-content-65 {
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }

    .section-content-65 .divsosyalmedya {
        margin-bottom: calc(20px + 3em) !important;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .admin-container {
        flex-direction: column;
    }
    
    .program-features { 
        grid-template-columns: 1fr !important;
        justify-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Feature-card'ın mobil görünümde tam genişlik ve ortalanması için */
    .program-features .feature-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        justify-self: stretch !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    /* Feature-card içindeki tüm elementlerin genişlik kontrolü */
    .program-features .feature-card > * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .program-features .feature-card table {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: auto !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 4% auto;
        max-height: 90vh;
        overflow-y: auto;
        padding: 6px 0 6px 0;
    }
    
    .divsosyalmedya {
        flex-direction: column;
        align-items: center;
        gap: 12px !important;
        margin: 20px 0 !important;
    }
    
    .sym {
        justify-content: center;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }
    
    /* Sosyal medya ikonlarını mobil görünümde küçült */
    .SosyalMedya {
        width: 22px !important;
        height: 22px !important;
        margin-right: 6px !important;
    }
    
    /* Sosyal medya link metin boyutunu mobil görünümde küçült */
    .divsosyalmedya a {
        font-size: 0.8rem !important;
    }
    
    .section-tasarim {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        box-sizing: border-box !important;
    }
    
    main {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        margin: 58px 0 0 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Header içeriğini mobil görünümde küçült */
    header {
        padding: 5px 4% !important;
        min-height: 50px !important;
        height: auto !important;
    }
    
    #companyLogo img {
        width: 50px !important;
        height: auto !important;
    }
    
    #companyLogo img[width],
    #companyLogo img[height] {
        width: 50px !important;
        height: 50px !important;
    }
    
    header .logo {
        font-size: 18px !important;
        font-weight: bold !important;
    }
    
    .companyBar {
        gap: 10px !important;
    }
    
    header label {
        font-size: 20px !important;
        padding: 5px 8px !important;
    }
    
    header label[for="menu-bar"] {
        font-size: 20px !important;
    }
    
    header .navbar ul li a {
        font-size: 15px !important;
        padding: 10px 12px !important;
    }
    
    header .navbar ul li ul li a {
        font-size: 13px !important;
        padding: 8px 12px !important;
    }
    
    /* Arama ikonu mobil görünümde küçült */
    header .navbar ul li a img.logo,
    header .navbar ul li a img[style*="width"],
    header .navbar ul li a img[style*="height"] {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Arama input mobil görünümde küçült */
    header .navbar ul li .TextBox,
    header .navbar ul li input[type="text"] {
        font-size: 12px !important;
        /* arama kutusunu dikeyde biraz küçült */
        padding: 4px 8px !important;
        height: 28px !important;
    }

    header .navbar ul li .TextBox::placeholder,
    header .navbar ul li input[type="text"]::placeholder {
        font-size: 12px !important;
    }
    
    /* Anasayfada section-metin için sol ve sağ boşluk */
    .section-tasarim .section-metin {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
	.section-tasarim{
	margin-bottom: 50px;
	}
	
	.download-section{
	margin-top: 3px !important;
	}


    
    /* Anasayfa program-features - mobil görünümde margin-top */
    .homepage-program-features {
        margin-top: -1.6rem;
    }
    
    /* Programlar sayfası - mobil görünümde elemanlar arası boşluk */
    .program-features .feature-card h3 {
        margin-bottom: 10px !important;
    }
    
    .program-features .feature-card .section-metin {
        margin-bottom: 15px !important;
        margin-top: 6px !important;
    }
    
    .program-features .feature-card > div:last-child {
        margin-top: 0 !important;
        padding-top: 8px !important;
    }
    
    /* Anasayfa yorumları - mobil görünümde tam genişlik */
    .comment-card {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Yorum formu ile yorumlar arasında boşluk */
    #comments-container {
        margin-top: 20px !important;
    }
    
    /* Video wrapper mobil görünümde altındaki nesnenin üzerine çıkmasın */
    .video-wrapper {
        position: relative !important;
        z-index: 1 !important;
    }
    
    .video-container .video-wrapper:not([style*="display: none"]) {
        margin-bottom: 15px !important;
    }
    
    .video-container .video-wrapper[style*="display: none"] {
        margin-bottom: 0 !important;
    }
    
    /* Video gizle/göster ikonunu mobil görünümde küçült */
    .video-toggle-icon,
    .video-container h4 img.video-toggle-icon,
    img.video-toggle-icon[style*="width"],
    img.video-toggle-icon[style*="height"],
    .video-container h4 img[style*="width"],
    .video-container h4 img[style*="height"] {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
    }
    
    /* Anasayfada logo ve isim hizalaması için - feature-icon margin'ini sıfırla */
    .feature-icon {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }
    
    .feature-card > div:first-child {
        align-items: center !important;
    }
    
    .feature-card > div:first-child > * {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }
    
    /* Section başlık ve metin mobil görünümde küçülsün */
    .section-baslik {
        font-size: 1.1rem !important;
    }
    
    /* Program logosunu mobil görünümde küçült */
    .feature-icon img {
        max-width: 24px !important;
        max-height: 24px !important;
        width: 24px !important;
        height: 24px !important;
    }
    
    .feature-icon img[style*="max-width"],
    .feature-icon img[style*="max-height"],
    .feature-icon img[style*="width"],
    .feature-icon img[style*="height"] {
        max-width: 24px !important;
        max-height: 24px !important;
        width: 24px !important;
        height: 24px !important;
    }
    
    /* Material icon için de küçült */
    .feature-icon .material-symbols-outlined.xlarge {
        font-size: 24px !important;
        line-height: 24px !important;
    }
    
    /* Section metin = Yorum içeriği boyutu (0.7rem) */
    .section-metin {
        font-size: 0.7rem !important;
    }
    
    /* Section metin2 (İndir butonunun üzerindeki detay metin) = Yorum içeriği boyutu */
    .section-metin2 {
        font-size: 0.7rem !important;
    }
    
    /* Sürüm indirme gereksinim tablosu = Yorum içeriği boyutu (0.65rem) */
    .TabloOzellik {
        font-size: 0.65rem !important;
    }
    
    .TabloOzellik td,
    .TabloOzellik th {
        font-size: 0.65rem !important;
    }

    /* Anasayfa: Gereksinim hücresi taşmasın (mobilde tablo içinden çıkar) */
    .TabloOzellik .requirements-label-cell,
    .TabloOzellik .requirements-cell {
        display: none !important;
    }

    .requirements-mobile {
        display: block !important;
        margin-top: 8px !important;
        text-align: justify;
    }
    
    /* Tablo-kucuk class'ı için mobil görünümde daha küçük font */
    .tablo-kucuk {
        font-size: 0.6rem !important;
    }
    
    .tablo-kucuk td,
    .tablo-kucuk th {
        font-size: 0.6rem !important;
    }
    
    .tablo-kucuk .section-metin,
    .tablo-kucuk label.section-metin,
    .tablo-kucuk td .section-metin,
    .tablo-kucuk td label.section-metin {
        font-size: 0.6rem !important;
    }
    
    .tablo-kucuk td strong,
    .tablo-kucuk td b {
        font-size: 0.6rem !important;
    }
    
    .tablo-kucuk td {
        font-size: 0.6rem !important;
    }
    
    /* "Ne işe yarar?", "Kurulum-kullanım videoları" h4 = Yorum ad boyutu (0.8rem) */
    .video-container h4 {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
    }
    
    /* "Programı indir veya programa git" h3 = Yorum ad boyutu (0.8rem) */
    .download-section h3 {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
    }
    
    /* Mobil: section-button daha küçük olsun */
    .section-button,
    .section-button[style*="font-size"],
    .section-button[style*="padding"] {
        font-size: 0.6rem !important;
        padding: 4px 8px !important;
    }

    .section-button .material-symbols-outlined {
        font-size: 1em !important;
    }

    /* Program kartı içi section-button: aynı kompakt ölçü */
    .program-features .feature-card .section-button {
        font-size: 0.6rem !important;
        padding: 4px 8px !important;
    }

    /* Mobil: download-button daha küçük olsun */
    .download-button {
        font-size: 0.6rem !important;
        padding: 4px 8px !important;
    }

    .download-button .material-symbols-outlined {
        font-size: 1em !important;
    }
    
    .download-button[style*="font-size"],
    .download-button[style*="padding"],
    .program-features .feature-card .section-button[style*="font-size"],
    .program-features .feature-card .section-button[style*="padding"] {
        font-size: 0.6rem !important;
        padding: 4px 8px !important;
    }

    .download-button[style*="padding"] { padding: 4px 8px !important; }

	/* download-button scale kaldırıldı */

	/* admin-section içindeki tüm TextBox input ve select öğelerini küçült */
	.admin-section .TextBox {
    font-size: 0.7rem !important;   /* yazı boyutu küçültme */
    padding: 0.2rem 0.4rem !important; /* iç boşluk küçültme */
    min-width: 150px !important;       /* minimum genişlik */
    height: auto !important;
	}

	#replies .admin-table .status-badge {
    font-size: 0.55rem;
    padding: 0.1rem 0.3rem;
	}
	#replies .admin-table button {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    min-width: 28px;
    height: auto;
	}

	/* comment-card içindeki tüm öğeleri küçült */
	.admin-section .comment-card {
    font-size: 0.7rem;       /* genel yazı boyutu */
    padding: 0.4rem;         /* card iç boşluğu */
    gap: 0.3rem;             /* öğeler arası boşluk */
	}

	/* avatar küçültme */
	.admin-section .comment-card .comment-header .comment-avatar {
    width: 24px;
    height: 24px;
    font-size: 1rem; /* emoji boyutu */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
	}

	/* yorum metni küçültme */
	.admin-section .comment-card .comment-content {
    font-size: 0.65rem;
	}

	/* button küçültme */
	.admin-section .comment-card .comment-actions button {
    font-size: 0.6rem;        /* button yazı boyutu */
    padding: 0.2rem 0.4rem;   /* button iç boşluk */
    min-width: 30px;           /* minimum genişlik */
    height: auto;              /* yükseklik otomatik */
	}

	/* status-badge küçültme */
	.admin-section .comment-card .status-badge {
    font-size: 0.55rem;
    padding: 0.1rem 0.3rem;
	}
	
	/* Modal içindeki TextBox inputlarını küçültme */
.modal-content .TextBox {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.4rem !important;
    width: 100%;   /* modal formda tam genişlik */
    box-sizing: border-box;
}

/* Modal içindeki butonları küçültme */
.modal-content .btn {
    font-size: 0.7rem !important;
    padding: 0.3rem 0.6rem !important;
    min-width: 50px;
}

/* Modal içindeki ikonları küçültme */
.modal-content .material-symbols-outlined {
    font-size: 1rem;
}


/* Modal içindeki label yazılarını küçült */
.modal-content label {
    font-size: 0.75rem !important;  /* istediğin boyuta ayarla */
    margin-bottom: 0.2rem;          /* alt boşluk küçült */
    display: inline-block;           /* margin-bottom uygulanması için */
    color: #333;                     /* opsiyonel renk */
}





	
    
    /* Yorum gönder formundaki tüm öğeler = Yanıt gönderme formundaki öğelerin boyutu */
    .TabloYorumGonder {
        font-size: 0.8rem !important;
    }
    
    .TabloYorumGonder td {
        font-size: 0.8rem !important;
        padding: 2px 4px !important;
    }
    
    .TabloYorumGonder td[style*="font-size"] {
        font-size: 0.8rem !important;
    }

    /* Anasayfa: yorum gönderme formunda "İsim/E-posta/Yorum" etiketleri (mobil) */
    .homepage-program-features .TabloYorumGonder td.comment-label,
    .homepage-program-features .TabloYorumGonder td.comment-required-note,
    .homepage-program-features .TabloYorumGonder td.comment-required-note em {
        font-size: 0.6rem !important;
    }
    
    .TabloYorumGonder h3 {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
    }
    
    .TabloYorumGonder input[style*="font-size"],
    .TabloYorumGonder textarea[style*="font-size"],
    .TabloYorumGonder input.TextBox,
    .TabloYorumGonder textarea.TextBox {
        font-size: 0.8rem !important;
        padding: 3px 6px !important;
    }
    
    /* Yorum gönder formundaki buton = Yanıt gönder butonu boyutu (1.0rem) */
    .TabloYorumGonder .section-button,
    .TabloYorumGonder button.section-button {
        font-size: 0.78rem !important;
        padding: 4px 10px !important;
    }
    
    .TabloYorumGonder button[style*="font-size"] {
        font-size: 0.78rem !important;
    }
    
    /* Footer içeriği = Yorum içeriği boyutu (0.7rem) */
    footer {
        font-size: 0.7rem !important;
        padding: 10px 8px !important;
    }
    
    footer p {
        font-size: 0.7rem !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Programlar sayfasında section-button'ların üst boşluğunu azalt */
    .section-tasarim .section-button {
        margin-top: 2px !important;
        margin-bottom: 2px !important;
        margin-left: 3px !important;
        margin-right: 3px !important;
    }
    
    .section-tasarim .section-button[style*="margin"] {
        margin-top: 2px !important;
        margin-bottom: 2px !important;
        margin-left: 3px !important;
        margin-right: 3px !important;
    }
    
    /* Hakkımızda sayfasında section-button'ın üst boşluğunu azalt */
    .section-tasarim > div[style*="margin-top"],
    .section-tasarim > div[style*="text-align: center"][style*="margin-top"] {
        margin-top: 10px !important;
    }
    
    /* Hakkımızda sayfasında section-metin'den sonraki div'in margin-top'unu azalt */
    .section-tasarim .section-metin + div {
        margin-top: 10px !important;
    }
}

/* Footer */
footer {
    background: #2c5aa0;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Loading and Notification Styles */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2c5aa0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    z-index: 10000;
    display: none;
}

.notification.success {
    background: #2c5aa0;
}

.notification.error {
    background: #dc3545;
}

.notification.info {
    background: #2c5aa0;
}

/* Additional Admin Styles */
.admin-header select {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 0.9rem;
    background: #2c5aa0;
    color: white;
}

.admin-header select:focus {
    outline: none;
    border-color: #2c5aa0;
    background: #1e3a6b;
}

/* Comment Filter Styles */
#programFilter {
    min-width: 200px;
}

/* Hidden Class */
.hidden {
    display: none !important;
} 

/* Gereksinim mobil bloğu: desktop'ta gizli */
.requirements-mobile {
    display: none;
}

/* Gereksinim içindeki linkler: tutarlı renk (mobil/desktop) */
.requirements-mobile a,
.requirements-mobile a:visited,
.requirements-mobile a:hover,
.requirements-mobile a:active {
    color: #177995 !important;
    text-decoration: none !important;
}

/* Reply action buttons: smaller size and spacing */
.replies-table-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 4px;
}
.replies-table-actions .btn {
    min-width: unset;
    height: unset;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 5px;
}
.replies-table-actions .material-symbols-outlined {
    font-size: 1.3em;
} 

/* Ensure consistent comment display across all pages */
.comment-card, .reply-item {
    min-width: 0;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.comment-content {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* Standardize comment header across all pages */
.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    margin-top: 0px;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
}

/* Standardize comment avatar across all pages */
.comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eaf1fb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 16.8px;
}

/* Standardize comment meta across all pages */
.comment-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comment-author {
    font-weight: 600;
    color: #2c5aa0;
    font-size: 0.8rem !important;
    margin-bottom: 0;
}

.comment-date {
    color: #6c757d;
    font-size: 0.7rem !important;
    margin-top: 0;
    white-space: nowrap;
    margin-left: 12px;
}

/* Standardize comment actions across all pages */
.comment-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
    margin-top: 0.1rem;
}

.comment-action {
    background: none;
    border: none;
    color: #2c5aa0;
    cursor: pointer;
    font-size: 0.7rem !important;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.comment-action:hover {
    background: #e3eaf6;
}

/* Anasayfa: section içindeki program kutusunda (feature-card) ana bloklar %70 olsun (desktop) */
@media (min-width: 769px) {
    /* .feature-card'ın direkt çocuklarını daraltıp ortala */
    .homepage-program-features .feature-card > div,
    .homepage-program-features .feature-card > p,
    .homepage-program-features .feature-card > table {
        width: 70% !important;
        max-width: 70% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }

    /* Yorum listesi alanı daralmasın: yorum kartı kendi %70'ini uygulasın */
    .homepage-program-features .feature-card > #comments-container {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Button spacing in admin tables */
.btn {
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Responsive button layout for smaller screens */
@media (max-width: 768px) {
    .btn {
        margin-right: 4px;
        margin-bottom: 4px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .btn .material-symbols-outlined {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .btn {
        margin-right: 2px;
        margin-bottom: 2px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .btn .material-symbols-outlined {
        font-size: 0.9em;
    }
}

/* Disabled button styles - more specific to override button color classes */
.btn.btn-danger:disabled,
.btn.btn-warning:disabled,
.btn.btn-success:disabled,
.btn.btn-primary:disabled,
.btn:disabled {
    background: #6c757d !important;
    color: #fff !important;
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    border: none;
    border-radius: 5px;
    transition: none;
}

.btn.btn-danger:disabled:hover,
.btn.btn-warning:disabled:hover,
.btn.btn-success:disabled:hover,
.btn.btn-primary:disabled:hover,
.btn:disabled:hover {
    background: #6c757d !important;
    color: #fff !important;
    transform: none;
    box-shadow: none;
}

/* Category program count badge */
.status-badge.status-pending {
    background-color: #ffc107;
    color: #000;
}

.status-badge.status-approved {
    background-color: #28a745;
    color: #fff;
} 

/* Mobil görünümde transform scale kullanılmıyor */
@media (min-width: 769px) {
    .companyBar,.navbar {
        /* scale kaldırıldı */
    }

    .section-metin,.section-baslik,.TabloOzellik,.divsosyalmedya,.video-wrapper,h4 {
        /* scale kaldırıldı */
    }

    .modal-content {
        /* scale kaldırıldı */
    }
    .download-page {
        /* scale kaldırıldı */
    }
}

/* Admin section mobil görünümde scale kullanmıyor */
@media (min-width: 769px) {
    .admin-section {
        margin-top: -1%;
        margin-bottom: -10%;
        /* scale kaldırıldı */
    }
}

/* Reply indicators */
.reply-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8em;
    color: #6c757d;
    margin-top: 4px;
}

.reply-indicator .material-symbols-outlined {
    font-size: 1em;
    vertical-align: middle;
}

.reply-indicator.admin-reply {
    color: #2c5aa0;
    font-weight: 500;
}
/* Facebook benzeri görünüm için font boyutları - inherit kaldırıldı, spesifik font-size'lar kullanılıyor */

/* Yanıt avatar'ları için Facebook benzeri stil */
.reply-item .comment-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.675rem;
    background: #e4e6eb;
    color: #65676b;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 6px;
    border: 1px solid rgba(0,0,0,0.1);
}
.reply-form {
    /* Normal küçültme - scale yerine padding ve font-size ile */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.reply-form h3,
.reply-form h4 {
    font-size: 0.8rem !important; /* Yorum ismiyle aynı büyüklükte */
    margin-bottom: 0 !important;
    font-weight: 600;
}

.reply-form .TabloYorumGonder {
    font-size: 0.8rem; /* Yorum içerikle aynı büyüklükte */
    margin-top: 0 !important;
}

.reply-form .TabloYorumGonder td {
    padding: 2px 4px !important;
    font-size: 0.8rem !important; /* Yorum içerikle aynı büyüklükte */
}

.reply-form .TabloYorumGonder input,
.reply-form .TabloYorumGonder textarea {
    padding: 3px 6px !important;
    font-size: 0.8rem !important; /* Yorum içerikle aynı büyüklükte */
}

.reply-form .section-button {
    padding: 4px 10px !important;
    /* Yanıt gönder butonu: section-button ile aynı kompakt boyut */
    font-size: 0.78rem !important;
}

/* ============================================
   ADMIN SECTION - YORUM STİLLERİ
   Sadece admin sayfasındaki yorumları etkiler
   Anasayfadaki yorumlar etkilenmez
   
   Not: Admin sayfasında scale kaldırıldı.
   Yorumlar anasayfadakiyle aynı stilleri kullanır.
   ============================================ */

/* Admin sayfasında yorum elemanlarını büyüt */
.admin-section .comment-author {
    font-size: 0.95rem !important;
}

.admin-section .comment-date {
    font-size: 0.85rem !important;
}

.admin-section .comment-content {
    font-size: 0.85rem !important;
}

.admin-section .status-badge {
    font-size: 0.85rem !important;
}

/* Admin sayfasında yorum butonlarını küçült */
.admin-section .comment-actions .btn {
    padding: 7px 14px !important;
    font-size: 0.85rem !important;
}

.admin-section .comment-actions .btn .material-symbols-outlined {
    font-size: 1em !important;
}

/* Admin sayfasında İstatistikler bölümündeki tabloları büyüt */
#statistics .TabloOzellik {
    margin-top: 10px;
    margin-bottom: 10px;
}

#statistics .TabloOzellik td,
#statistics .TabloOzellik th {
    padding: 6px !important;
    font-size: 0.95rem !important;
}
