/* GENEL CSS ALANI */
.kmk_kart_ust_bilgi {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 4px;
    opacity: 0.7;
}
.kmk_kisi {
    color: #fff;
    font-weight: bold;
}
.ceveplayan_renk {
    color: #D4AF37 !important; /* Cevaplayan hukukçunun adı altın sarısı parlasın */
}
.kmk_tarih {
    color: #ccc;
}

/* DIKEY MEDYA SORGUSU ALANI (max-height: 780px) */
@media (max-height: 780px) {
    .kmk_kart_ust_bilgi {
        font-size: 10px !important; /* Laptop ekranında üst bilgiler kibarca küçülsün */
    }
}


.kmk_form_grup {
    margin-bottom: 8px;
    width: 100%;
}
.kmk_form_grup .form-control {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(214, 175, 55, 0.3) !important;
    color: #fff !important;
    font-size: 12px !important;
    height: 30px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}
.kmk_form_grup .form-control:focus {
    border-color: #D4AF37 !important;
    box-shadow: 0 0 5px rgba(214, 175, 55, 0.4) !important;
}
.kmk_form_select option {
    background: #14120c !important;
    color: #fff !important;
}

/* KVKK MODAL TASARIMI */
.kmk_modal_arka_plan {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Her şeyin üstünde dursun */
}
.kmk_modal_kutu {
    background: #14120c;
    border: 1px solid #D4AF37;
    border-radius: 6px;
    width: 90%;
    max-width: 450px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}
.kmk_modal_baslik {
    color: #D4AF37;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(214, 175, 55, 0.2);
    padding-bottom: 6px;
}
.kmk_modal_icerik {
    color: #ccc;
    font-size: 12px;
    line-height: 1.5;
    max-height: 200px;
    overflow-y: auto; /* Uzun metinlerde kutu taşmasın */
    margin-bottom: 15px;
    padding-right: 5px;
}
.kmk_modal_butonlar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.kmk_form_grup textarea.form-control {
    height: 170px !important;    /* Varsayılan büyük ekranlarda dikeyde tam 4 katı yükseklik */
    resize: none !important;      /* Kullanıcının sağ alttan tutup kutuyu büyütmesini tamamen kilitler */
    overflow-y: auto !important;  /* Metin uzarsa kutu taşmasın, içeride şık bir dikey kaydırma barı çıksın */
}

/* DIKEY MEDYA SIKIŞTIRMASI (max-height: 780px) */
@media (max-height: 780px) {
    .kmk_form_grup textarea.form-control {
        height: 90px !important;  /* Ekran dikeyde daraldığında nizam bozulmasın diye yüksekliği hafifçe kibarlaştırdık */
    }
    .kmk_form_grup { margin-bottom: 5px !important; }
    .kmk_form_grup .form-control { height: 26px !important; font-size: 11px !important; }
    .kmk_modal_kutu { padding: 15px !important; }
    .kmk_modal_baslik { font-size: 14px !important; }
    .kmk_modal_icerik { font-size: 11px !important; max-height: 150px !important; }
}


/* MEVZUAT DIŞ BAĞLANTI KARTLARI */
.kmk_mevzuat_link_listesi {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.kmk_mevzuat_link_kart {
    display: block;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(214, 175, 55, 0.15) !important;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
}
.kmk_mevzuat_link_kart:hover {
    background: rgba(214, 175, 55, 0.08) !important;
    border-color: #D4AF37 !important;
    box-shadow: 0 2px 8px rgba(214, 175, 55, 0.1);
}
.kmk_link_sol {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.kmk_altin_ikon {
    color: #D4AF37;
    font-size: 12px;
}
.kmk_link_metin {
    color: #fff;
    font-weight: bold;
    font-size: 12px;
}
.kmk_mevzuat_link_kart:hover .kmk_link_metin {
    color: #D4AF37; /* Üzerine gelince yazı da tatlıca altın sarısına dönsün */
}
.kmk_link_kapsam_yazisi {
    font-size: 11px;
    color: #888;
    padding-left: 20px; /* İkonun hizasından başlasın */
    line-height: 1.3;
}

/* DIKEY MEDYA SIKIŞTIRMASI (max-height: 780px - Laptop) */
@media (max-height: 780px) {
    .kmk_mevzuat_link_kart { padding: 6px 8px !important; }
    .kmk_link_metin { font-size: 11px !important; }
    .kmk_link_kapsam_yazisi { font-size: 10px !important; padding-left: 18px !important; }
}