@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Protest+Riot&display=swap');

* {padding: 0; margin: 0; box-sizing: border-box;}
body {
    background: #fff;
    color: #fff;
    font-family: Tahoma;
    margin: 0;
    overscroll-behavior-y: contain;
    overflow: hidden;
}
a {
    text-decoration: none;
}
.wrapper {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 90vh;
}
.wrapbox {
    margin: 70px 10px auto;
}
.mainbox {
    width: 100wh;
    color: #3a445e;
    display: grid;
    gap: 20px;
    padding: 25px;
    border-radius: 8px;
    background: #ffe64b;
}
.auth-form {
    display: grid;
}
.authbox {
    display: grid;
    gap: 20px;
    padding: 25px;
    border-radius: 8px;
    margin: 10px;
}
.auth-form {
    display: grid;
    gap: 20px;
}
input[type="text"] {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    outline: none;
    font-size: 18px;
}
.heading-f {
    border-bottom: 2px solid #121212;
    width: fit-content;
}
.submit {
    background: #121212;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    border: 0;
}
.flexbox {
    display: flex;
}
.justify-sb {
    justify-content: space-between;
}
.gridbox {
    display: grid;
}
.gapfive {
    gap: 5px;
}

.order {
    background: #151c2e;
    border-radius: 6px 6px 0 0;
    padding: 15px;
}
.order > div {
    padding: 15px 0 15px;
    border-bottom: 1px solid #3a445e;
}
.buttons {
    padding: 5px 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 5px;
    z-index: 9;
    color: #121212;
    width: 100%;
}
.classesarea {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    gap: 10px;
}
.classbox {
    display: flex;
    flex: 1 1 0;
    width: 0;
    flex-direction: column;
    align-items: center;
    background: #fff;
    color: #3a445e;
    border-radius: 7px;
}
.classbox b {
    width: 100%;
    border-radius: 0 0 6px 6px;
    padding: 3px;
    text-align: center;
    background: #ffcf3c;
    color: #121212;
}
.submit {
    width: 97%;
    padding: 10px;
    background: #121212;
    outline: none;
    border: 0;
    border-radius: 5px;
    color: #fff;
    font-size: 24px;
    margin: 6px;
}
.submitwo {
    width: 100%;
    padding: 10px;
    background: #121212;
    outline: none;
    border: 0;
    border-radius: 5px;
    color: #fff;
    font-size: 24px;
}
.bclasses {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 30px;
    gap: 10px;
}
.pricebox {
    background: #d5f838;
    padding: 15px;
    font-weight: 700;
    color: #151c2e;
    text-align: center;
    margin-bottom: 8px;
    border-radius: 5px;
}
.selected-payment {
    background: rgb(78, 187, 78) !important;
    color: #fff !important;
}
.selected-class {
    background: rgb(78, 187, 78);
    color: #fff;
}
.selected-class b {
    background: #a6ff72;
}

.driver {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.driver-main {
    display: flex;
    gap: 10px;
}
.driver-info {

}
.driver-photo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}
.driver-actions {
    display: flex;
    gap: 20px;
}
.driver-actions a {
    color: #fff;
}
.points {
    display: grid;
    gap: 5px;
}
.wbox {
    font-size: 13px;
    font-weight: 600;
    padding: 3px;
    background-color: #fff;
    color: #121212;
    border-radius: 6px;
}
.ride-f-info {
    display: flex;
    justify-content: space-between;
}
.ride-f-info > div {
    justify-items: center;
}
.flexbox {
    display: flex;
}
.justify-sb {
    justify-content: space-between;
}
.gridbox {
    display: grid;
}
.gapfive {
    gap: 5px;
}
.gaptwenty {
    gap: 20px;
}
.gridrow {
    display: grid;
    grid-template-columns: 48% 48%;
}
.user-profile-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #151c2e;
    /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.9);*/
}
.user-menu {
    font-size: 34px;
    background: #151c2e;
    color: #fff;
    padding: 5px;
    border-radius: 6px;
    width: 48px;
    height: 48px;
    text-align: center;
}
.paymentbox {
    border-radius: 6px;
    padding: 10px;
    color: #121212;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orderform {
    width: 800px;
    margin: 0 auto;
}
.addressforms {
    width: 100% !important;
    display: grid;
    text-align: justify;
    gap: 20px;
}
.rideinfo {
    background: #151c2e;
    padding: 15px;
    border-radius: 6px;
    color: #fff;
}
.closed {display:none}
.active-mb {
    transform: translateX(100%);
}
.main-menubox {
    position: absolute;
    left: -100%;
    background: #1b2235 /*#fff*/;
    width: 100%;
    height: 100%;
    z-index: 13;
    color: #151c2e;
    transition: transform 0.3s ease-in-out;
}
.sideheader {
    display: flex;
    font-weight: bold;
    justify-content: space-between;
    align-items: center;
    font-size: 1.8em;
    padding: 15px;
    background-color: #151c2e;
    color: #fff;
}
.logotext {
    display: flex;
    align-items: center;
    gap: 5px;
}
.logotext span {
    font-family: "Protest Riot", sans-serif;
    background: black;
    padding: 6px;
    border-radius: 8px;
    color: yellow;
}
.menuitems {margin-top: 20px}
.menuitems li {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 5px;
    font-size: 1.2em;
}
.menuitems .iconbox {
    background: yellow;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menuitems li a {
    color: #141414;
    background: #fff/*#151c2e*/;
    height: 45px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 5px;
    width: 100%;
}
.menuitems li a:hover {
    background: #3a445e;
    color: #fff;
}
.menu-footer {
    position: absolute;
    bottom: 0;
    color: #ccc;
    padding: 10px;
    font-size: 13px;
}
.ride-status-h {
    text-align: center;
    background-color: #d5f838;
    color: #151c2e;
    font-size: 24px;
    border-radius: 7px;
}
@media only screen and (min-width: 1000px) {
    .order {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 9;
        border-radius: 6px;
        min-width: 500px;
    }
    .buttons {
        width: 200px;
        display: grid;
        gap: 20px;
    }
    #map {
        height: 100vh !important;
    }
}
@media (width <= 600px) {
    .wrapper {
        width: inherit;
        max-width: 600px ;
        margin: 0 auto;
    }
}