#belgeSorgu {
    padding: 20px;
}



#fields_table {
    width: 100%;
    border-style: solid;
}

#fields_table thead {
    text-align: left;
    background: #228762;
}

#fields_table thead tr {
    padding: 11px;
    height: 34px;
}


#fields_table thead tr th {
    font-family: 'Quicksand', sans-serif;
    padding: 9px;
    border: 1px solid #fff;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    /* padding-top: 30px; */
    text-align: left;
    font-style: inherit;
    text-transform: uppercase;
}

#fields_table td {
    padding: 10px;
    /* border: 1px solid #ddd; */
    /* margin: 0; */
    font-size: 14px;
    /* text-align: center; */
    word-break: normal;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    /* padding: 16px; */
}

/* Masaüstü tablo çizgileri */
#fields_table{
    border: 1px solid #e6e6e6;
    border-collapse: collapse;
    border-spacing: 0;
    background: #fff;
}

#fields_table td{
    border: 1px solid #eaeaea;
    vertical-align: top;
}

/* Mobilde sonuçları kart görünümüne çevir (data-label ile) */
@media only screen and (max-width: 760px){
    #fields_table{
        border: 0;
        background: transparent;
    }

    #fields_table thead{
        display: none;
    }

    #fields_table,
    #fields_table tbody,
    #fields_table tr,
    #fields_table td{
        display: block;
        width: 100%;
    }

    #fields_table tr{
        margin: 0 0 14px 0;
        border: 1px solid #e6e6e6;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }

    #fields_table td{
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 10px 12px;
        border: 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
        line-height: 1.35;
        word-break: break-word;
    }

    #fields_table td:last-child{
        border-bottom: 0;
    }

    #fields_table td::before{
        content: attr(data-label);
        flex: 0 0 38%;
        max-width: 38%;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 12px;
        line-height: 1.2;
        color: #fff;
        background: #228762;
        padding: 8px 10px;
        border-radius: 8px;
        box-sizing: border-box;
    }

    #fields_table td img{
        max-width: 120px;
        height: auto;
    }
}


tr:first-child a.yukaributton {
    display: none;
}

tr:last-child a.asagibutton {
    display: none;
}

#fields_table th {
    word-break: normal!important;
    text-align: center;
}

#bS_search_type {
    padding: 12px 5px 13px;
    border: 1px solid #cbcbcb;
    float: left;
    margin-right: 2.3%;
    width: 30%!important;
    max-width: 30%!important;
    height: 50px;
    min-width: 30%;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: #222222;
    background: #f7f7f7;
    text-transform: uppercase;
    font-size: 16px;
}

#bS_search_key {
    padding: 8px 10px 8px;
    border: 1px solid #cbcbcb;
    float: left;
    margin-right: 3.3%;
    width: 30%;
    min-width: 30%;
    max-width: 30%;
    height: 50px;
    color: #228762;
    font-weight: 600;
}

/* İki kriterli (2 hücre) sorgu düzeni */
#bS_search_panel .bs-search-row {
    display: block;
    overflow: hidden; /* float'ları temizle */
    margin-bottom: 10px;
}

#bS_search_type_2 {
    padding: 12px 5px 13px;
    border: 1px solid #cbcbcb;
    float: left;
    margin-right: 2.3%;
    width: 30%!important;
    max-width: 30%!important;
    height: 50px;
    min-width: 30%;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: #222222;
    background: #f7f7f7;
    text-transform: uppercase;
    font-size: 16px;
}

#bS_search_key_2 {
    padding: 8px 10px 8px;
    border: 1px solid #cbcbcb;
    float: left;
    margin-right: 3.3%;
    width: 30%;
    min-width: 30%;
    max-width: 30%;
    height: 50px;
    color: #228762;
    font-weight: 600;
}

#bS_search_panel button {
    border: 1px solid #222222;
    background: #222222;
    padding: 15px 20px 16px;
    float: left;
    width: 30%;
    min-width: 32%;
    /* max-width: 30%; */
    max-width: 29%;
    border-radius: 4px;
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    height: 50px;
    margin-bottom:20px;
}
/* ------------------------------------------------------------
   Modern arama barı: 2 zorunlu alan + sağda buton (mobil uyumlu)
------------------------------------------------------------- */
#bS_search_panel .bs-search-row{
    display: grid;
    grid-template-columns: 1fr 1fr 160px;
    gap: 12px;
    align-items: stretch;
}

#bS_search_panel .bs-search-row input,
#bS_search_panel .bs-search-row button{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box;
}

#bS_search_key,
#bS_search_key_2,
#bS_search_panel .bs-search-row button{
    height: 50px;
}

@media only screen and (max-width: 760px){
    #bS_search_panel .bs-search-row{
        grid-template-columns: 1fr 1fr 120px;
        gap: 8px;
    }

    #bS_search_key,
    #bS_search_key_2,
    #bS_search_panel .bs-search-row button{
        height: 46px;
        font-size: 15px;
    }
}

@media only screen and (max-width: 420px){
    #bS_search_panel .bs-search-row{
        grid-template-columns: 1fr 1fr 96px;
        gap: 6px;
    }

    #bS_search_panel .bs-search-row button{
        font-size: 14px;
    }
}
