.driverButton {
    position: absolute;
    text-decoration: none;
    right: 10px;
    padding: 5px 10px;
    border-radius: 0 0 10px 10px;
    background-color: var(--primare);
    cursor: pointer;
    color: white;
}

.container {
    width: 100vw;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    align-items: center;   
    padding-bottom: 30px;
}

.orderContent {
    width: 60%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px var(--blue-light);
    border-radius: 15px;
    align-items: center; 
    padding-bottom: 30px;
 
}

.container img {
    width: 100%;
    border-radius: 15px 15px 0 0;
}
#goBack {
    text-decoration: none;
    color: var(--primare);
    font-size: 23px;
}

.textContent {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center; 
}

.searchInput {
    width: 100%;
    margin-bottom: 24px;
}

.orderContent h2{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}


#search{
    height: 45px;
    display: flex;
    margin: 0 auto;
    border: 0;
    box-shadow: 0 0 3px var(--blue-light);
    border-radius: 10px;
    padding-left: 10px;
    margin-bottom: 5px;
    font-size: 20px;
    width: 90%;
    margin-top: 5px;
    border: 2px solid var(--primare);
    margin-bottom: 20px;
}

.grey {
    background-color: var(--grey-light);
}

.formFrom {
    height: 43px;
    display: flex;
    margin: 0 auto;
    border: 0;
    box-shadow: 0 0 3px var(--blue-light);
    border-radius: 10px;
    padding-left: 10px;
    margin-bottom: 5px;
    font-size: 20px;
    width: 90%;
    margin-top: 5px;
}

.allPreferences {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 5px
}
.allPreferences a{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 5px;
    margin: 0 auto;
}

.selectButtons {
    width: 96%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pref {
    background-color: var(--primare);
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 20px;
    color: white;
    font-size: 20px;
    transition: 0.3s linear;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pref:hover{
    opacity: 0.7;
    transform: scale(1.02);
}

.oneButton{
    width: 95%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 5px 10px;
    border: 0;
    box-shadow: 0 0 1px grey;
    border-radius: 10px;
    padding-left: 10px;
    color: black;
    font-size: 22px;
    margin-top: 5px;
    cursor: pointer;
    transition: 0.3s linear;
    justify-content: left;
    background-color: #E6F3FB;
    text-align: left;
    margin: 0 auto;
    margin-top: 16px;
}

.oneButtonTop{
    padding-top: 16px;
    padding-bottom: 16px;
    width: 95%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    justify-content: left;
    border: 0;
    box-shadow: 0 0 1px grey;
    border-radius: 10px;
    color: black;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s linear;
    gap:10px;
    background-color: #E6F3FB;
}
.ql-size-huge {
    font-size: 26px;
}

.flex-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
}


.oneButton:hover{
    opacity: 0.7;
    transform: scale(1.02);
}

.button{
    height:  55px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 0;
    box-shadow: 0 0 1px grey;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s linear;
    background-color: var(--primare);
    color: white;
    width:  90%;
    margin-top: 32px;
}


.button:hover{
    opacity: 0.7;
    transform: scale(1.02);
}
.lightText {
    color: var(--primare);
}

.hide {
    display: none;
}

.typeOfVehicles {
    margin-top: 20px;

    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;

    gap: 9px
}

.oneVehicleSelected {

    padding: 12px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;

    background-color: var(--primare);
    text-align: center;
    color: white;
    transition: 0.5s linear;
    cursor: pointer;

    box-shadow: 0 0 5px grey;
    gap: 10px;
    text-decoration: none;
    justify-content: space-between;

    min-height: 180px;
}

.oneVehicle {
    width: 48%;

    padding: 12px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;

    background-color: var(--primare);
    text-align: center;
    color: white;
    transition: 0.5s linear;
    cursor: pointer;

    box-shadow: 0 0 5px grey;
    gap: 10px;
    text-decoration: none;
    justify-content: space-between;

    min-height: 180px;
}

.oneVehicle:hover {
    opacity: 0.8;
    transform: scale(1.03);
}


/* FORM */
.form  {
    width: 90%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}
.form form{
    display: flex;
    width: 100%;
    flex-direction: column;
    margin: 0 auto;
}
#trip_form div{
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;

    
}
#trip_form div label {
    width: 90%;
    margin: 0 auto;
}

#trip_form div input{
    height: 35px;
    display: flex;
    margin: 0 auto;
    border: 0;
    box-shadow: 0 0 3px var(--blue-light);
    border-radius: 10px;
    padding-left: 10px;
    margin-bottom: 5px;
    font-size: 20px;
    width: 90%;
    margin-top: 5px;
}

#trip_form div button{
    width: 90%;
    display: flex;
    text-decoration: none;
    padding: 5px 10px;
    border: 0;
    box-shadow: 0 0 1px grey;
    border-radius: 10px;
    padding-left: 10px;
    color: black;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s linear;
    background-color: var(--primare);
    margin: 0 auto;
    margin-top: 20px;
    color: white;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.creator {
    text-align: center;
    color: rgb(13, 13, 27);
}


/* iOS/Safari: větší a čitelný datetime input */
#dateTimeInput {
    width: 94%;
    min-height: 46px;          /* “tlačítková” výška */
    padding: 12px 14px;
    font-size: 16px;           /* důležité pro iOS (zabrání zoomu) */
    line-height: 1.2;
    border: 1px solid #cfd3d8;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;

    -webkit-appearance: none;
    appearance: none;
}

/* ať to na mobilech nelepí na sebe */
.selectDate {
    width: 96%;

    margin: 0 auto;
    text-align: center;
}


@media (max-width: 1000px) {
    .selectButtons {
        width: 100%;
    }
    .container {
        width: 100vw;
        display: flex;
        flex-direction: column;
        padding-top: 0px;
        align-items: center; 
    }
    
    .orderContent {
        width: 100%;
        margin-top: 0px;
        box-shadow: none;
        border-radius: 0;
        padding: 10px;
    }
    
    .container img {
        width: 100%;
    }
    .searchInput {
        width: 100%;
    }

}

/* lehké zvětšení na mobilu */
@media (max-width: 600px) {
    #dateTimeInput {
        min-height: 54px;
        padding: 14px 16px;
        font-size: 16px;
    }
}

