/*---------------------------*/
/*---- css-01-global.css ----*/
/*---------------------------*/

:root {
    --text-color: #242934;
    --secondary-text-color: #47576C;
    --primary-color: #0089FF;
    --secondary-color: #A6B3C5;
    --white-color: #ffffff;
    --black-color: #000000;
    --text-user: #0065A8;
    --box-ride: #F2F5F8;
    --box-info:#E1F2FE;
    --body2-color: #5b6b80;

    --button-grey-color: #ECF0F5;
    --button-add-color: #33CAAF;
    --button-completed-color: #D8FFF8;
    --button-completed-text: #2B8A7D;
    --button-planned-color: #FDEACD;
    --button-planned-text: #995400;
    --button-canceled-color: #FFE5E5;
    --button-canceled-text: #A10009;
    --body3-color: #5B6B80;
    --driver-style-color: #8B5CF6;
    --button-red-color: #FF4444;
    --colorprimitives-blue-100: #e1f2fe;
    --colorprimitives-blue-700: #0065a8;
    --colorprimitives-bluegray-300: #CDD5E1;
    --button-darkmdoe-grey-color:#ECF0F5;
    --footer-button-box:#ffffff;;
}

/*---------------------------*/
/*-------- Dark mode --------*/
/*---------------------------*/
body.dark-mode {
    --text-color: #ffffff;
    /* content primary -> var(--colorprimitives-white) */
    --secondary-text-color: #cdd5e1;
    /* content secondary -> var(--colorprimitives-bluegray-300) */
    --primary-color: #0089FF;
    /* primary -> var(--colorprimitives-blue-500) */
    --secondary-color: #a6d4fe;
    /* secondary -> var(--colorprimitives-blue-300) */
    --white-color: #000000;
    /* backgroundprimary inverse / black */
    --black-color: #ffffff;
    /* content always light / white */
    --text-user: #0065A8;
    /* same as light -> var(--colorprimitives-blue-700) */

    --button-grey-color: #242934;
    /* indicator background bluegray -> var(--colorprimitives-bluegray-900) */
    --button-add-color: #4a9886;
    /* indicator background green -> var(--colorprimitives-green-900) */
    --button-completed-color: #d8fff8;
    /* indicator content green (soft) -> var(--colorprimitives-green-300) */
    --button-completed-text: #2b8a7d;
    /* indicator content green (same as light) -> var(--colorprimitives-green-700) */
    --button-planned-color: #fdeacd;
    /* indicator background orange -> var(--colorprimitives-orange-100) */
    --button-planned-text: #995400;
    /* indicator content orange -> var(--colorprimitives-orange-700) */
    --button-canceled-color: #ffe5e5;
    /* indicator background red -> var(--colorprimitives-red-100) */
    --button-canceled-text: #a10009;
    /* indicator content red -> var(--colorprimitives-red-700) */
    --body3-color: #cdd5e1;
    /* per .body3 e .body4 */
    --box-ride: #646464;
    --driver-style-color: #a78bfa;
    --colorprimitives-bluegray-300: #5B6B80;
    --color-footer-menu: #646464;
    --button-darkmdoe-grey-color:#646464;
    --footer-button-box:#242934;
    --box-info:rgb(87, 119, 141);
}

/*---------------------------*/
/*---------------------------*/



body {
    font-family: "Inter", sans-serif !important;
    background-color: var(--button-grey-color) !important;
}

body a {
    text-decoration: none !important;
}

.navbar-brand {
    font-family: "Inter", sans-serif;
    font-size: 20px !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    margin-right: 10px !important;
}

h1 {
    font-family: "Inter", sans-serif;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: normal;
    letter-spacing: 0%;
    color: var(--text-color);
}

.h1-large {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 18px !important;
    line-height: normal;
    letter-spacing: 0%;
    color: var(--text-color);
}

.h1-x-large {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 20px !important;
    line-height: normal;
    letter-spacing: 0%;
}

.h1-xx-large {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 30px !important;
    line-height: normal;
    letter-spacing: 0%;
}

.center {
    justify-self: center;
}

h2 {
    font-family: "Inter", sans-serif;
    font-size: 14px !important;
    font-weight: 600 !important;
    vertical-align: middle;
    color: var(--text-color) !important;
    margin-bottom: 1px !important;
}

h3 {
    font-family: "Inter", sans-serif;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    line-height: normal !important;
}

h3.body3 {
    font-size: 14px !important;
    font-weight: 600;
}

h4 {
    font-family: "Inter", sans-serif;
    font-size: 8px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    line-height: normal !important;
}

.body1 {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0%;
    margin: 0 !important;
}

.body2 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 12px !important;
    line-height: normal;
    letter-spacing: 0%;
    color: var(--body2-color);
    margin: 0 !important;
}

.body2::placeholder {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 0%;
    color: var(--secondary-color);
    margin: 0 !important;
}

.body3 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: normal;
    letter-spacing: 0%;
    color: var(--body3-color);
    margin: 0 !important;
}

.body4 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: normal;
    letter-spacing: 0%;
    color: var(--body3-color);
    margin: 0 !important;
}

.description {
    color: var(--secondary-text-color);
}

.space-card {
    margin: 0 40px 0 12px !important;
}

.driver-style {
    color: var(--driver-style-color);
    /* --colorprimitives-purple-500 (nuova variabile) */
}

.link {
    color: var(--primary-color) !important;
    /* --colorprimitives-blue-500 */
}

.city-start,
.city-destinaction {
    align-content: center;
    color: var(--secondary-text-color);
    /* --colorprimitives-bluegray-700 */
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 82px;
}

.icons-footer{
    width: 24px;
    height: 24px;
}

.number-passengers {
    color: var(--secondary-text-color);
    /* --colorprimitives-bluegray-700 */
    font-size: 10px;
}

.time {
    color: var(--text-color) !important;
    /* --colorprimitives-bluegray-900 */
    align-content: center;
}

.day-week {
    color: var(--secondary-text-color);
    /* --colorprimitives-bluegray-700 */
}

.bottom_spacer {
    height: 120px;
}

.error {
    color: var(--button-canceled-text);
    /* --colorprimitives-red-700 */
}

.user-name-notification h2 {
    align-items: center;
    position: relative;
}

/*----------------------------*/
/*---- Stile in dark mode ----*/
/*----------------------------*/
body.dark-mode {
    font-family: "Inter", sans-serif;
    background-color: var(--button-grey-color) !important;
}

body.dark-mode a {
    text-decoration: none !important;
}

body.dark-mode .h1-large {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: normal;
    letter-spacing: 0%;
    color: var(--text-color);
}

body.dark-mode h2 {
    font-family: "Inter", sans-serif;
    font-weight: 600 !important;
    font-size: 14px !important;
    vertical-align: middle;
    color: var(--text-color) !important;
    margin-bottom: 1px !important;
}

body.dark-mode .body2 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 0%;
    color: var(--secondary-color);
    margin: 0 !important;
}

body.dark-mode .body2::placeholder {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 0%;
    color: var(--secondary-color);
    margin: 0 !important;
}

body.dark-mode .body3 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: normal;
    letter-spacing: 0%;
    color: var(--body3-color);
    margin: 0 !important;
}

body.dark-mode .body4 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: normal;
    letter-spacing: 0%;
    color: var(--body3-color);
    margin: 0 !important;
}

body.dark-mode .description {
    color: var(--secondary-text-color);
}

body.dark-mode .driver-style {
    color: var(--driver-style-color);
}

body.dark-mode .link {
    color: var(--primary-color);
}

body.dark-mode .city-start,
.city-destinaction {
    color: var(--secondary-text-color);
    font-size: 12px;
}

body.dark-mode .number-passengers {
    color: var(--secondary-text-color);
    font-size: 10px;
}

body.dark-mode .time {
    color: var(--text-color);
    align-content: center;
}

body.dark-mode .day-week {
    color: var(--secondary-text-color);
}

body.dark-mode .error {
    color: var(--button-canceled-text);
}

.white-text {
    color: var(--white-color) !important;
}
/*---------------------------*/
/*---------------------------*/

input[type=text]{
    height: 40px;
    font-size: 14px;
    line-height: normal;
}

.modal-content{
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    background-color: var(--white-color) !important;
}

.modal-body{
    padding-top: 0 !important;
}

.switch {
    position: relative;
    width: 40px;
    height: 24px;
    float: right;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch input:checked+.slider {
    background-color: var(--black-color);
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 6px;
    bottom: 4px;
    background-color: var(--white-color);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #34C759;
}

input:focus+.slider {
    box-shadow: 0 0 1px #34C759;
}

input:checked+.slider:before {
    -webkit-transform: translateX(12px);
    -ms-transform: translateX(12px);
    transform: translateX(12px);
}

h3.body3.text-color-more-munu {
    color: var(--text-color);
}

.driver-text{
    color: var(--driver-style-color);
}

/*hide google logo*/
a[href^="http://maps.google.com/maps"]{display:none !important}
a[href^="https://maps.google.com/maps"]{display:none !important}


.form-control{
    background-color: var(--white-color) !important;
}

.text-footer{
    color: var(--color-footer-menu) !important;
}

h2.swal2-title {
    font-size: 19px !important;
}

#search_product_icon {
    position: absolute;
    top: 2px;
    bottom: 0;
    margin-top: 9px !important;
    left: 3%;
    z-index: 50;
}

#search-bar {
    padding-left: 10%;
}
