@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: rgb(230, 230, 230);
    background-size: cover;
    background-position: center;
}

.wrapper {
    max-width: 450px;
    background: white;
    border: 3px solid rgb(255, 255, 255, .2);
    box-shadow: 0 0 10px rgba(0, 0, 0, .6);
    border-radius: 40px;
    color: rgb(21, 23, 30);
    padding: 30px 40px;
    h1 {
        font-size: 30px;
        text-align: center;
        font-weight: 700;
    }
    .input-box {
        width: 100%;
        height: 50px;
        margin: 30px 0;
        position: relative;
        input {
            width: 100%;
            height: 100%;
            background: transparent;
            outline: none;
            border: 2px solid rgb(21, 23, 30, .2);
            border-radius: 40px;
            font-size: 16px;
            padding: 20px 45px 20px 20px;
        }
        input:focus {
            outline:none;
            border-color: rgb(0, 116, 224);
            box-shadow:0 0 8px rgb(0, 116, 224);
        }
        input::placeholder {
            color: rgb(21, 23, 30);
        }
        i {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 20px;
            color: rgb(0, 116, 224);
        }
    }
    .btn {
        width: 100%;
        height: 45px;
        background: rgb(0, 116, 224);
        border: none;
        outline: none;
        border-radius: 40px;
        box-shadow: 0 0 10px rgb(0, 0, 0, .1);
        cursor: pointer;
        font-size: 16px;
        color: #fff0f2;
        font-weight: 600;
    }
}

.footer {
    max-width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(21, 23, 30);
    margin-top: 20px;
    height: 60px;
    font-size: 19px;
    .Name {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 450px) {
    .wrapper {
        margin: 15px 20px 0px 20px;
        padding: 25px 25px;
        h1{
            font-size: 23px;
        }
    }
    .footer {
        margin: 15px;
        font-size: 14px;
        height: 40px;
    }
}

/* модалка */
.modal-backdrop {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; 
    justify-content: center; 
    align-items: center;
    background: rgba(0,0,0,.5);
    z-index: 1000;
}
.modal-backdrop.hidden {
    display:none
}

.modal {
    background: #fff; 
    border-radius: 10px; 
    padding: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,.5); 
    width: 350px;
}
.modal-content h2 {
    margin-top: 0;
}

/* контейнер выбора */
.car-select-container {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    margin-top: 20px;
}

.submit-btn {
    padding: 6px 15px; 
    cursor: pointer;
}
