﻿<style >
/* 1) Genel: taşma/ölçü hesapları stabil olsun */
.form-kutu, .form-kutu *,
.ayar-kutu, .ayar-kutu * {
    box-sizing: border-box;
}

/* 2) Ortak kutu görünümü: form-kutu ve ayar-kutu aynı “card” dili */
.form-kutu,
.ayar-kutu {
    width: 100%;
    max-width: 1400px;
    margin: 18px auto; /* ikisini aynı hizaya getirir */
    padding: 18px 20px; /* ikisini aynı padding’e çekebiliriz */
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 12px;
    background: #fff;
}

    /* Eğer ayar-kutu daha geniş padding olsun istiyorsan bunu aç:
.ayar-kutu { padding: 22px 24px; }
*/

    .form-kutu .kutu-baslik {
        font-weight: 600;
        margin-bottom: 12px;
    }

/* 3) Checkbox item: flex düzeni + ellipsis + çakışma çözümü */
.check-item {
    display: flex;
    align-items: center;
    gap: 12px; /* 10 -> 12 biraz daha nefes */
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 10px;
    background: #fafafa;
    min-height: 52px;
    height: auto; /* 100% bazen gereksiz/yan etki yapar */
}

    /* 4) KRİTİK: Bootstrap .form-check absolute/padding davranışını iptal et
      check-item aynı zamanda "form-check" class'ı taşıyorsa çakışma oluyor. */
    .check-item.form-check {
        padding-left: 0 !important; /* Bootstrap soldan boşluk bırakır, kapat */
    }

    .check-item .form-check-input {
        position: static !important; /* absolute'u kapat → üst üste binme biter */
        margin: 0 !important;
        margin-left: 0 !important;
        flex: 0 0 auto;
    }

    .check-item .form-check-label {
        margin: 0;
        padding-left: 0 !important; /* Bootstrap label padding’ini kapat */
        cursor: pointer;
        user-select: none;
        line-height: 1.2;
        flex: 1 1 auto;
        min-width: 0; /* ellipsis için şart */

        white-space: nowrap; /* tek satır */
        overflow: hidden; /* taşarsa kırp */
        text-overflow: ellipsis; /* ... */
    }

</style >
