/* Genel stil ayarları */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: white;
    box-shadow: 0 8px 12px rgb(0, 0, 1);
    border-radius: 12px;
    min-width: 300px;
    min-height: 400px;
    width: 90%;
    height: auto;
    margin: 0 auto !important;
}

.form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* .header2 {
    position: absolute;
    top: 24%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
} */

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 1rem;
    margin-bottom: 8px;
}

select, button {
    width: 40%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.next-button {
    width: 100%;
    height: 90%;
    position: relative;
    top: 140px;
    padding: 15px;
    font-size: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #ee5057;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.next-button:hover {
    background-color: #ee5057;
}

.header {
    display: none;
    padding: 20px;
    background-color: lightgray;
    margin: 10px 0;
}

.prev-button {
    width: 20%;
    height: 40px;
    padding: 10px;
    font-size: 1.8rem;
    border: none;
    border-radius: 10px;
    background-color: #ffffff;
    color: #ee5057;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 150px;
    left: 50px;
    margin-top: -20px;
    line-height: 0.2;
}

.prev-button:hover {
    background-color: #ffffff;
}

.form-button-control {
    width: 100%;
    position: relative;
    top: 100px;
    padding: 30px;
    font-size: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #ffffff;
    color: #ee5057;
    font-weight: bold;
    cursor: pointer;
}

.form-button-control:hover {
    background-color: #ffffff;
}

.search-button {
    width: 100%;
    position: relative;
    top: 140px;
    padding: 15px;
    font-size: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 50px;
    background-color: #ee5057;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.search-button:hover {
    background-color: #ee5057;
}

/* Mobil uyumlu tasarım */
@media screen and (max-width: 767px) {
    .tm-bg-white {
        width: 100% !important;
    }
    .form-section {
        padding: 15px;
        margin: 0 auto !important;
    }

    .form-container {
        padding: 15px;
        margin: 0 auto !important;
        width: 100%;
    }

    h2 {
        font-size: 1.3rem;
    }

    label {
        display: block;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    select, button {
        padding: 12px;
        font-size: 1rem;
    }

    /* Sadece mobil formu görünür yap */
    .mobile-form {
        display: block;
    }

    /* Masaüstü formunu gizle */
    .desktop-form {
        display: none;
    }

    button {
        background-color: #ee5057;
    }

    button:hover {
        background-color:#ee5057;
    }
    .googlemaps {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .form-section {
        max-width: 100%;
        padding: 10px;
        margin: 0 auto !important;
    }

    .form-container{
        max-width: 100%;
        padding: 10px;
        margin: 0 auto !important;
    }

    .select-button{
        padding: 12px;
        font-size: 1.2rem;
    }

    h2{
       font-size:1.4rem;
    }
}

.form-wrapper {
    max-width: 500px;
    margin: 0 auto !important; /* Ortalamak için */
    padding: 20px;
}

.desktop-form {
    display: block;
}

.mobile-form {
    display: none;
}
.form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* YATAY ORTALAMA */
    height: 100vh; /* Sayfanın tamamını kapsaması için */
}
.form-wrapper {
    display: flex;
    justify-content: center; /* Dikey ortalama */
    /* Sayfanın yüksekliği kadar */
    margin: auto;
}
