﻿html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px;
    background: #fff;
}

footer {
    height: 10vh;
    min-height: 60px;
    padding: 20px;
    background-color: #f9f9f9;
    color: #555;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    flex-shrink: 0;
}


.page-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

header {
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0px;
}


.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.imglogo {
    height: 60px;
    margin-right: 10px;
}

.slogan {
    font-size: 22px;
    color: #d43458;
    font-weight: 600;
    font-style: oblique;
    font-family: auto;
}


* {
    box-sizing: border-box;
}



.search-box {
    background: rgb(212, 49, 87) url(../images/search_bg.png) repeat-x;
    text-align: center;
    border-radius: 4px;
    margin: 5px auto;
    width: 80%;
    max-width: 1100px;
    min-height: 160px;
    display: grid;
    place-items: center;
}

    .search-box input[type="text"] {
        height: 54px;
        width: 54px;
        padding: 10px;
        font-size: 16px;
        margin: 0 5px;
        border-radius: 4px;
        border: 1px solid #ccc;
        vertical-align: middle;
        font-size: xx-large;
        text-align: center;
    }

    .search-box select {
        height: 54px;
        width: 190px;
        padding: 10px;
        font-size: 16px;
        margin: -30px;
        border-radius: 4px;
        border: 1px solid #ccc;
        vertical-align: middle;
        font-size: x-large;
        text-align: center;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: #fff;
        background-image: linear-gradient(to right, #ccc 1px, transparent 1px), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8'><polygon points='0,0 14,0 7,8' fill='black'/></svg>");
        background-repeat: no-repeat, no-repeat;
        background-position: right 28px center, right 10px center;
        background-size: 5px 90%, 14px 8px;
    }

.search-btn {
    background-color: white;
    cursor: pointer;
    width: 100px;
    height: 54px;
    border-radius: 4px;
    border: 1px solid #ccc;
    vertical-align: middle;
    font-size: x-large;
    text-align: center;
}

.clear-btn {
    background-color: white;
    color: red;
    font-size: x-large;
    font-weight: 900;
    height: 54px;
    width: 54px;
    border-radius: 4px;
    border: 1px solid #ccc;
    vertical-align: middle;
    font-size: x-large;
    text-align: center;
    margin-left: 30px;
}

.img-clear-btn {
    padding-bottom: 5px
}

.terms {
    color: #f44336;
}

.separator {
    margin-right: 30px !important;
}

/* Mobil uyğunluq */
@media (max-width: 768px) {
    .search-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 0px;
        width: 100%
    }

        .search-box select {
            width: 90%;
            font-size: 18px;
            height: 50px;
            margin: 20px 20px 20px 0px;
        }

        .search-box input[type="text"] {
            width: 42px;
            height: 38px;
            font-size: 16px;
        }

    .search-btn {
        width: 70px;
        height: 38px;
        font-size: 16px;
    }

    .clear-btn {
        width: 42px;
        height: 38px;
        margin-left: 0;
        font-size: 16px;
    }

    .separator {
        margin-right: 0px !important;
    }
}

/* Çox kiçik ekran (telefonlar <480px) */
@media (max-width: 480px) {
    .search-box {
        gap: 10px;
        margin: 0px;
        width: 100%
    }

        .search-box select {
            width: 90%;
            font-size: 18px;
            flex: 0 0 auto;
            height: 50px;
            margin: 20px 20px 20px 0px;
        }

        .search-box input[type="text"] {
            width: 38px;
            height: 38px;
            font-size: 16px;
        }

    .search-btn {
        font-size: 16px;
        height: 38px;
        width: 70px;
        flex: 0 0 auto;
    }

    .clear-btn {
        width: 42px;
        height: 38px;
        font-size: 16px;
        flex: 0 0 auto;
    }

    .separator {
        margin-right: 0px !important;
    }
}
