html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .modal-full-x {
        width: 95%;
        max-width: 1200px;
    }

    .modal-full-x-lg {
        width: 95%;
        max-width: 900px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.highlight {
    background-color: rgba(255, 255, 0, 0.5);
}

.toast-def {
    position: absolute;
    top: 0;
    right: 0;
}

.toast-fixed {
    position: fixed;
}



.bg-solid-white-smoke {
    background-color: whitesmoke !important;
}

.main-box {
    background-color: rgba(191, 191, 191, .06);
    padding-top: 5px;
    margin: 5px;
    border: solid;
    border-color: silver;
    border-width: 1px;
    border-radius: 6px;
}


.icon-text {
    font-size: 10px;
}

.border-green {
    border: 2px solid rgba(40, 167, 69, 1);
}

.border-yellow {
    border: 2px solid rgba(255, 193, 7, 1);
}

.border-red {
    border: 2px solid rgba(220, 53, 69, 1);
}


.highlight {
    /*font-weight: bold;*/
    /*color: green;*/
    background-color: rgba(255, 255, 0, 0.5);
}




.form-check.form-check-md {
    padding-left: 4.5em;
    height: 2.5em;
}

    .form-check.form-check-md .form-check-input {
        margin-left: -4.0em;
        height: 2em;
        width: 2em;
    }

.title-selected {
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}



.ro-card-border-selected {
    border-color: #0D6EFD;
}

.main-box-price {
    background-color: rgba(143, 188, 143, .2);
    padding-top: 5px;
    margin: 5px;
    border: solid;
    border-color: silver;
    border-width: 1px;
    border-radius: 6px;
}

#body_car {
    background: url('../../images/car/InspectCar.png');
    background-repeat: no-repeat;
    height: 350px;
    position: relative;
}


.strike-through {
    text-decoration: line-through;
    text-decoration-color: red;
}


.tech-list-ro {
    background-color: rgba(255, 128, 0, .3) !important;
}

.stats-green {
    border: 1px solid black;
    background-color: rgba(40, 167, 69, .6);
}

.stats-yellow {
    border: 1px solid black;
    background-color: rgba(255, 193, 7, .6);
}

.stats-red {
    border: 1px solid black;
    background-color: rgba(220, 53, 69, .6);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#acctSetAuthImg {
    background-image: url('/images/qbo-connect.png');
    height: 36px;
    width: 223px;
    background-repeat: no-repeat
}

    #acctSetAuthImg:hover {
        background-image: url('/images/qbo-connect-h.png');
    }










/* QuickReset */ /** {
    margin: 0;
    box-sizing: border-box;
}*/

.chat {
    --rad: 20px;
    --rad-sm: 3px;
    font: 20px/1.5 sans-serif;
    display: flex;
    flex-direction: column;
    padding: 20px;
    max-width: 100%;
    margin: auto;
}

.msg {
    position: relative;
    max-width: 75%;
    padding: 7px 15px;
    margin-bottom: 6px;
}

    .msg.sent {
        border-radius: var(--rad) var(--rad-sm) var(--rad-sm) var(--rad);
        /*background: #42a5f5;*/
        background: #5A43E6;
        color: #fff;
        /* moves it to the right */
        margin-left: auto;
    }

    .msg.rcvd {
        border-radius: var(--rad-sm) var(--rad) var(--rad) var(--rad-sm);
        background: #1d1919;
        color: #fff;
        /* moves it to the left */
        margin-right: auto;
    }

        /* Improve radius for messages group */

        .msg.sent:first-child,
        .msg.rcvd + .msg.sent {
            border-top-right-radius: var(--rad);
        }

        .msg.rcvd:first-child,
        .msg.sent + .msg.rcvd {
            border-top-left-radius: var(--rad);
        }


    /* time */

    .msg::before {
        content: attr(data-time);
        font-size: 0.8rem;
        position: absolute;
        bottom: 100%;
        color: #888;
        white-space: nowrap;
        /* Hidden by default */
        display: none;
    }

    .msg.sent::before {
        right: 15px;
    }

    .msg.rcvd::before {
        left: 15px;
    }


    /* Show time only for first message in group */

    .msg:first-child::before,
    .msg.sent + .msg.rcvd::before,
    .msg.rcvd + .msg.sent::before {
        /* Show only for first message in group */
        display: block;
    }




.table-row-highlight, .table-row-highlight > th, .table-row-highlight > td {
    --bs-table-bg: rgba(255, 255, 0, .4);
    --bs-table-border-color: rgba(255, 255, 0, .4);
    /*color: #664d03;*/
}


[data-bs-theme="dark"] .text-danger {
    color: var(--bs-danger-text-emphasis) !important; /* or a specific color value */
}

/*input[list]::-webkit-calendar-picker-indicator {
    display: inline-block !important;
    opacity: 1 !important;
}*/


/* 1. Target SAFARI Only */
@supports (-webkit-hyphens:none) and (not (-moz-appearance:none)) {
    /* Container to position the custom arrow */
    .datalist-wrapper {
        position: relative;
        display: inline-block;
    }
        /* Hide the native WebKit arrow completely */
        .datalist-wrapper input::-webkit-calendar-picker-indicator {
            display: none !important;
        }
        /* Create the custom dropdown arrow */
        .datalist-wrapper::after {
            content: "▼";
            font-size: 10px;
            color: #555;
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none; /* Allows clicks to pass through to the input */
        }
        /* Adjust input padding so text doesn't overlap the arrow */
        .datalist-wrapper input {
            padding-right: 25px;
        }
}

/* 2. Target FIREFOX Only */
@supports (-moz-appearance:none) {
    /* Container to position the custom arrow */
    .datalist-wrapper {
        position: relative;
        display: inline-block;
    }
        /* Hide the native WebKit arrow completely */
        .datalist-wrapper input::-webkit-calendar-picker-indicator {
            display: none !important;
        }
        /* Create the custom dropdown arrow */
        .datalist-wrapper::after {
            content: "▼";
            font-size: 10px;
            color: #555;
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none; /* Allows clicks to pass through to the input */
        }
        /* Adjust input padding so text doesn't overlap the arrow */
        .datalist-wrapper input {
            padding-right: 25px;
        }
}





