body { font-family: Arial, sans-serif; padding: 20px; }
    select, input[type="number"] { padding: 8px; font-size: 16px; margin: 4px; }
    .istatistik-container { display: none; margin-top: 10px; border: 2px solid black; padding: 20px; width: 300px; }
    #secim-btn { font-weight: bold; padding: 10px 20px; background-color: white; border: 2px solid black; cursor: pointer; margin-bottom: 10px; }
    .popup-arkaplan { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 999; }
    .popup-icerik { background: white; width: 400px; margin: 50px auto; padding: 20px; border: 2px solid black; position: relative; }
    .kapat-btn { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 18px; font-weight: bold; cursor: pointer; }
    .filtre-etiketi { display: inline-block; background-color: #f3f3f3; border: 1px solid #555; border-radius: 5px; padding: 6px 10px; margin: 4px; font-size: 14px; }
    .filtre-etiketi button { background: none; border: none; color: red; font-weight: bold; cursor: pointer; margin-left: 6px; }
    .custom-alert-icerik { background-color: white; width: 320px; padding: 25px; border: 2px solid black; border-radius: 8px; text-align: center; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
    .custom-alert-icerik h3 { margin-top: 0; }
    .custom-alert-icerik button { background-color: #007bff; color: white; border: none; padding: 10px 25px; border-radius: 5px; font-weight: bold; cursor: pointer; margin-top: 15px; }
    #summary-container { margin-top: 15px; margin-bottom: 15px; }
    #summary-button { background-color: #f0f0f0; border: 1px solid #ccc; border-radius: 5px; padding: 8px 15px; font-size: 16px; cursor: pointer; font-weight: bold; }
    #pagination-controls { margin-top: 20px; text-align: center; }
    .page-btn { padding: 8px 12px; margin: 0 4px; border: 1px solid #ccc; background-color: white; cursor: pointer; border-radius: 4px; }
    .page-btn.active { background-color: #007bff; color: white; border-color: #007bff; }
    .page-btn:disabled { cursor: not-allowed; color: #aaa; }
    .year-summary-content { max-height: 300px; overflow-y: auto; text-align: left; }
    .year-summary-content p { margin: 8px 0; font-size: 16px; }
    .filtre-secenek-kutusu { display: flex; flex-direction: column; gap: 8px; }
    .filtre-secenek { border: 1px solid #ccc; padding: 10px; text-align: center; border-radius: 5px; cursor: pointer; user-select: none; transition: background-color 0.2s; }
    .filtre-secenek:hover { background-color: #f0f0f0; }
    .filtre-secenek.secili { background-color: #28a745; color: white; border-color: #28a745; font-weight: bold; }
    .number-spinner { display: inline-flex; align-items: center; border: 1px solid #ccc; border-radius: 4px; }
    .spinner-btn { width: 30px; height: 30px; border: none; font-size: 20px; font-weight: bold; cursor: pointer; background-color: #f0f0f0; }
    .spinner-btn.minus {
        border-left: 1px solid #ccc;
        background-color: #f8d7da; /* Kırmızımsı Arka Plan */
        color: #721c24; /* Koyu Kırmızı Yazı */
    }
    .spinner-btn.plus {
        border-right: 1px solid #ccc;
        background-color: #d4edda; /* Yeşil Arka Plan */
        color: #155724; /* Koyu Yeşil Yazı */
    }
    .spinner-value { width: 40px; text-align: center; font-size: 16px; font-weight: bold; }
    .spinner-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
    .range-separator { margin: 0 10px; font-weight: bold; }
    .filtre-buton-grup { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; }
    .temizle-btn { background-color: #6c757d; color: white; border: none; padding: 6px 12px; font-weight: bold; border-radius: 4px; cursor: pointer;}
    .temizle-btn:hover { background-color: #5a6268; }
    
    /* --- Sayı Toplamı Spinner Satırları İçin Yeni ve Düzeltilmiş Stiller --- */

    /* Her bir aralığı (En Az - En Çok) içeren ana satır */
    .spinner-row {
        display: flex;
        justify-content: space-between; /* Öğeleri (min grubu, ayırıcı, max grubu) satırın sağına ve soluna yayar */
        align-items: center;          /* Öğeleri dikeyde ortalar */
        margin-bottom: 15px;          /* Satırlar arası boşluk */
    }

    /* Her bir "etiket + spinner" grubunu yöneten konteyner */
    .labeled-spinner {
        display: flex;
        flex-direction: column; /* İçindeki etiketi üste, spinner'ı alta koyar */
        align-items: center;   /* Etiket ve spinner'ı kendi içinde ortalar */
        gap: 4px;              /* Etiket ile spinner arası dikey boşluk */
    }

    /* "En Az" ve "En Çok" etiketlerinin stili */
    .labeled-spinner label {
        font-weight: bold;
        font-size: 13px;
        color: #333;
        margin: 0;
    }    