﻿body {
    font-family: 'lato', sans-serif;
    background-color: #282828;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

h2 {
    font-size: 26px;
    margin: 20px 0;
    text-align: center;
}

    h2 small {
        font-size: 0.5em;
    }

.responsive-table {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

    .responsive-table li {
        border-radius: 3px;
        padding: 25px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center; /* Center-align items vertically */
        margin-bottom: 25px;
        background-color: #008CBA;
        box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
        color: white;
    }

.table-header {
    background-color: #FFFFFF;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: bold;
    text-align: center; /* Center-align header text */
}

.table-row {
    background-color: #008CBA;
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
    color: white;
}

.col-1 {
    flex-basis: 100%;
    text-align: center; /* Center-align text in col-1 */
}

.link-button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none; /* Removes underline */
    color: white; /* Sets button text color to white */
}

    .link-button:hover {
        text-decoration: underline; /* Adds underline on hover */
    }




.search-container {
    position: relative;
    display: flex; /* Flexbox kullanarak butonu ve input alanını hizalayın */
    width: 100%; /* Container'ın genişliği %100 olacak */
}

.form-control {
    flex: 1; /* Input alanının geri kalan alanı kaplamasını sağlar */
    padding-right: 40px; /* Buton için yeterli alan bırakın */
    box-sizing: border-box; /* Padding'in genişlik hesaplamalarına dahil edilmesini sağlar */
}

.search-button {
    position: absolute;
    top: 50%;
    right: 10px; /* Butonun input alanından ne kadar uzak olacağını ayarlayın */
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: #000; /* İkon rengi */
}

    .search-button i {
        font-size: 16px; /* İkon boyutu */
    }



@media (min-width: 768px) {
    .table-header {
        display: none;
    }

    @media (max-width: 768px) {
        .table-header {
            display: none;
        }

        .table-row {
            display: block;
        }

        .col {
            display: flex;
            justify-content: space-between; /* Space between label and value */
            padding: 10px 0;
            text-align: center; /* Center-align text in columns */
        }

            .col:before {
                color: #FFFFFF;
                padding-right: 10px;
                content: attr(data-label);
                flex-basis: 50%;
                text-align: center; /* Ensure label text is centered */
            }
    }



    

    /* Responsive ayarları */
    /*@media (max-width: 768px) {
        .search-container {
            padding-right: 0;*/ /* Küçük ekranlarda container'ın padding'ini sıfırlayın */
        /*}

        .search-button {
            right: 5px;*/ /* Küçük ekranlarda butonun konumunu ayarlayın */
        /*}

        .form-control {
            padding-right: 40px;*/ /* Butonun input alanından yeterince uzak olmasını sağlar */
        /*}
    }*/
