/* @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'); */

.darkMode{
    --background-color:#24252a;
    --header:#ffffff;
    --color:#dddde8;
    --subcolor:#b6b6cb;

    --input:#2a3136;
    --input-border:#41494f;
    --input-disabled:#24272a;

    --lightblue:#F6F9FC;
    --darkblue:#004682;
    --red:#FF4D4D;
    --yellow:#FBBC75;
    --green:#71CB74;
    --black:#1F2026;
    --white:#D9D9DF;

    --lightblue-hover:#d1e9fe;
    --darkblue-hover:#0056a1;
    --red-hover:#ff6464;
    --yellow-hover:#ffc583;
    --green-hover:#7ada7e;
    --black-hover:#30323b;
    --white-hover:#e9e9f1;

    --secondary:#2a2e39;
}
:root{
    --background-color: #F7F8FD;
    --header:#000000;
    --color:#1e1e1f;
    --subcolor:#53535d;

    --input:#ffffff;
    --input-border:#e2e4e5;
    --input-disabled:#e9ecef;

    --lightblue:#f1eefa;
    --darkblue:#004682;
    --red:#FF4D4D;
    --yellow:#FBBC75;
    --green:#71CB74;
    --black:#1F2026;
    --white:#D9D9DF;

    --notify-Danger:rgb(138, 0, 0);
    --notify-Info:#eaf3fd;
    --notify-Success:green;
    --notify-Warn:red;

    --lightblue-hover:#d1e9fe;
    --darkblue-hover:#0056a1;
    --red-hover:#ff6464;
    --yellow-hover:#ffc583;
    --green-hover:#7ada7e;
    --black-hover:#30323b;
    --white-hover:#e9e9f1;

    --secondary:white;

    --border:4px;
    --border-block:10px;
    --border-xl:10px;
    --shadow:0px 0px 16px hsla(231, 9%, 28%, 0.1);
    --shadow-box:3px 4px 10px hsla(231, 9%, 28%, 0.226);
}
body{
    /* font-family: 'Poppins', sans-serif !important; */
    background-color: var(--background-color) !important;
}
#alerts{
    top: 20px;
}
.dark-bg{
    background: #000000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: 99998;
}
.popup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    width: 100%;
    z-index: 99999;
    max-height: 80%;
    overflow-y: auto;
}
.popup .block{
    margin-top: unset !important;
}
.formpopup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1000px;
    width: 100%;
    z-index: 99999;
    max-height: 80%;
    overflow-y: auto;
}
.formpopup .block{
    margin-top: unset !important;
}
.row > *{
    word-break: break-word;
}
#user-options, #vehicle-options{
    background-color: #fff;
    color: #000;
    padding: 10px;
    right: 0;
    text-align: center;
    position: absolute;
    border-radius: 10px;
    display: none;
    box-shadow: #000 0px 0px 10px 0px;
}
#user-options > a, #vehicle-options > a{
    display: block;
    color: rgb(1 107 183);
    font-weight: 500;
    cursor: pointer;
}
.color-preview{
    position: relative;
    height: 80%;
    width: 80%;
    border-radius: 10px;
    top: 10%;
    left: 20%;
}
*{
    color:var(--color);
}
.logo-login{
    margin: 0 auto 40px;
    display: block;
}
.button{
    display:inline-block;
    text-align: center;
    text-decoration: none;
    color:var(--color);
    font-size: 15px;
    font-weight: 500;
    padding:5px 15px;
    border-radius:var(--border);
    transition: background-color .2s;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-box);
}
.d-flex.flex-right{
    align-items: center;
    justify-content: right;
}
.button.fw{
    width: 100%;
}
.t-center{
    text-align: center;
}
.error-txt{
    color: #e14646;
    display: none;
}
small.note{
    color: #f1abab;
    font-size: 11px !important;
}
.notes-block {
    position: relative;
    max-height: 400px;
    overflow: auto;
}

.note-block {
    background-color: var(--secondary);
    border-radius: var(--border-block);
    box-shadow: var(--shadow);
    margin-top: 1em;
    padding: 0;
}

.header-block {
    padding: 10px 25px;
    background-color: #f1eefa;
    border-radius: var(--border-block) var(--border-block) 0 0;
}

.header-block .header {
    color: var(--header);
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0; /* Adjust as needed to fit with existing styles */
    border-radius: 0; /* Ensure no border radius on the table */
    box-shadow: none; /* Remove any box-shadow */
}

.styled-table th, .styled-table td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

.styled-table thead {
    background-color: #f1eefa;
    border-radius: 0; /* Ensure no border radius on the header */
}

.styled-table thead th:first-child {
    border-top-left-radius: 0; /* Remove top left radius */
}

.styled-table thead th:last-child {
    border-top-right-radius: 0; /* Remove top right radius */
}

.styled-table .grey-row {
    background-color: #f9f9f9;
}

/* New CSS to add border radius to the bottom of the last tr */
.styled-table tbody:last-child tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.styled-table tbody:last-child tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.link{
    display:block;
    text-align: center;
    text-decoration: none;
    padding:10px 15px;
    font-weight: 700;
    transition: color .2s;
}
.title{
    margin: 20px;
}
.b-lightblue{
    color:black;
    background-color:var(--lightblue);
}
.b-lightblue:hover{
    color:black;
    background-color:var(--lightblue-hover);
}
.b-darkblue{
    color:white;
    background-color:var(--darkblue);
}
.b-darkblue:hover{
    color:white;
    background-color:var(--darkblue-hover);
}
.b-red{
    color:white;
    background-color:var(--red);
}
.b-red:hover{
    color:white;
    background-color:var(--red-hover);
}
.b-yellow{
    color:white;
    background-color:var(--yellow);
}
.b-yellow:hover{
    color:white;
    background-color:var(--yellow-hover);
}
.b-green{
    color:white;
    background-color:var(--green);
}
.b-green:hover{
    color:white;
    background-color:var(--green-hover);
}
.b-black{
    color:white;
    background-color:var(--black);
}
.b-black:hover{
    color:white;
    background-color:var(--black-hover);
}
.b-white{
    color:black;
    background-color:var(--white);
}
.b-white:hover{
    color:black;
    background-color:var(--white-hover);
}
.b-lightblue-outline{
    color:var(--color);
    border:3px solid var(--lightblue);
}
.b-lightblue-outline:hover{
    color:black;
    background-color:var(--lightblue);
}
.b-darkblue-outline{
    color:var(--color);
    border:3px solid var(--darkblue);
}
.b-darkblue-outline:hover{
    color:white;
    background-color:var(--darkblue);
}
.b-red-outline{
    color:var(--color);
    border:3px solid var(--red);
}
.b-red-outline:hover{
    color:white;
    background-color:var(--red);
}
.b-yellow-outline{
    color:var(--color);
    border:3px solid var(--yellow);
}
.b-yellow-outline:hover{
    color:white;
    background-color:var(--yellow);
}
.b-green-outline{
    color:var(--color);
    border:3px solid var(--green);
}
.b-green-outline:hover{
    color:white;
    background-color:var(--green);
}
.b-black-outline{
    color:var(--color);
    border:3px solid var(--black);
}
.b-black-outline:hover{
    color:white;
    background-color:var(--black);
}
.b-white-outline{
    color:var(--color);
    border:3px solid var(--white);
}
.b-white-outline:hover{
    color:black;
    background-color:var(--white);
}
.a-lightblue{
    color:var(--lightblue);
}
.a-lightblue:hover{
    color:var(--lightblue-hover);
}
.a-darkblue{
    color:var(--darkblue);
}
.a-darkblue:hover{
    color:var(--darkblue-hover);
}
.a-red{
    color:var(--red);
}
.a-red:hover{
    color:var(--red-hover);
}
.a-yellow{
    color:var(--yellow);
}
.a-yellow:hover{
    color:var(--yellow-hover);
}
.a-green{
    color:var(--green);
}
.a-green:hover{
    color:var(--green-hover);
}
.a-black{
    color:var(--black);
}
.a-black:hover{
    color:var(--black-hover);
}
.a-white{
    color:var(--white);
}
.a-white:hover{
    color:var(--white-hover);
}
.logout-section{
    position: sticky;
    background: #fff;
    bottom: 0px;
    padding: 10px 0;
    display: block;
    width: 100%;
}
input.input_field,
select,
textarea{
    background-color: var(--input);
    border:1px solid var(--input-border);
    border-radius:var(--border);
    width:100%;
    padding:5px 13px;
    outline-width: 1px;
    margin-bottom:10px !important;
    color:var(--color);
    transition: outline .1s;
    display: block;
    box-shadow: 1px 2px 10px hsla(231, 9%, 28%, 0.126);
}
input.disabled,
textarea.disabled{
    background-color: var(--input-disabled);
    cursor: not-allowed;
}
input::placeholder,
textarea::placeholder{
    color:var(--subcolor);
}
input.input_field:focus,
select:focus,
textarea:focus{
    outline-style: solid;
    outline-width: 3px;
    outline-color:var(--darkblue);
}
.checkbox_container{
    width:100%;
    position:relative;
    padding-left:25px;
}
.checkbox_container input{
    display:none;
}
.checkbox_container input:checked ~ .checkmark::after{
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.checkbox_container input:checked ~ .checkmark{
    background-color: var(--lightblue);
}
.checkbox_container .checkmark{
    width:15px;
    height:15px;
    border-radius:2px;
    top:4px;
    left:0;
    background-color: transparent;
    border:1px solid var(--color);
    position: absolute;
}
.radio_container{
    width:100%;
    position:relative;
    padding-left:25px;
}
.radio_container input{
    display:none;
}
.radio_container input:checked ~ .checkmark::after{
    top:3px;
    left:3px;
    border-radius:10px;
    content:'';
    width:7px;
    height:7px;
    position: absolute;
    background-color:var(--color);
}
.radio_container .checkmark{
    width:15px;
    height:15px;
    border-radius:10px;
    top:4px;
    left:0;
    background-color: transparent;
    border:1px solid var(--color);
    position: absolute;
}
.sidebar{
    position: relative;
    width:200px;
    height: 100vh;
    z-index:3;
    background-color: var(--secondary);
    overflow-y:auto;
    position:sticky;
    top:0;
}
.sidebar span{
    /* padding:10px; */
    color:var(--darkblue);
    font-size: .8em;
    font-weight: 600;
}
.sidebar ul{
    list-style-type: none;
    margin:0;
    padding:0;
}
.sidebar ul a{
    padding:5px;
    display:inline-block;
    width:100%;
    border-radius:var(--border);
    color:var(--color);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 10px;
}
.sidebar ul a i{
    color:var(--darkblue);
    margin-right:5px;
    width:20px;
}
.sidebar ul a.active,
.sidebar ul a:active{
    background-color:var(--lightblue);
    color:black;
}
.content{
    overflow:auto;
    position: relative;
    background-color:var(--background-color);
    width:calc(100% - 200px);
    min-height: 100vh;
    z-index:2;
}
.content.nmw{
    width: 100%;
}
.content::after{
    z-index:-1;
    width:100%;
    height:50vh;
    top:0;
    left:0;
    position:fixed;
    top:0;
    content: '';
    background: rgb(15,98,169);
    background: #004681;
}
.block{
    background-color: var(--secondary);
    padding:25px;
    border-radius: var(--border-block);
    box-shadow:var(--shadow);
    margin-top:1em;
}
.block.center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.block.mw{
    max-width: 500px;
    width: 100%;
}
h5.header{
    color:var(--header);
    font-size:1.2em;
    font-weight:700;
    padding:0px 25px;
    margin-top:20px;
}
.block .header{
    color:var(--header);
    font-size:1.2em;
    font-weight:700;
    margin-bottom:10px;
}
.stat-card .icon{
    font-size:1.5em;
    background-color:var(--darkblue);
    width:50px;
    height:50px;
    display:flex;
    align-items: center;
    justify-content: center;
    border-radius: 200px;
}
.stat-card .icon i{
    color: #FFFFFF;
}
.alerts{
    color:black;
    padding:15px;
    margin-bottom:10px;
}
.alerts i{
    font-size: 1.1em;
    margin-right:5px;
}
.alerts.danger{
    background-color:#FFBFBF;
    border-radius: var(--notify-Danger);
}
.alerts.danger i{
    color:#820000;
}
.alerts.info{
    background-color:var(--notify-Info);
    border-radius: var(--border);
}
.alerts.info i{
    color:#004682;
}
.alerts.success{
    background-color:#BFFFC1;
    border-radius: var(--notify-Success);
}
.alerts.success i{
    color:#008227;
}
.alerts.warn{
    background-color:#FFEABF;
    border-radius: var(--border);
}
.alerts.warn i{
    color:#824500;
}
table{
    width:100%;
    background-color:var(--secondary);
    margin-bottom:20px;
    overflow:hidden;
    border-radius:var(--border-xl);
    box-shadow: 0px 0px 1px rgb(0, 0, 0);
}
table tr{
    border-bottom:1px solid #ddd;
}
table tr th{
    color:black;
    background-color:#F6F9FC;
}
table tr th{
    font-size:.9em;
    text-transform: uppercase;
    font-weight: 400;
}
table tr td,
table tr th{
    padding:15px 25px;
}
table .status-identificator{
    width:10px;
    height:10px;
    position: relative;
    display: inline-block;
    border-radius:10px;
    margin-right:10px;
}
table .status-identificator.red{
    background-color:#FF4D4D;
}
table .status-identificator.green{
    background-color:#71CB74;
}
table .status-identificator.orange{
    background-color:#FBBC75;
}
@media only screen and (max-width: 750px){
    .sidebar{
        display: none;
        position: fixed;
    }
    .content{
        width: unset;
    }
    .menuBtn{
        position: absolute;
        top: 20px;
        background: transparent;
        border: none;
        font-size: 20px;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    .block{
        overflow-x: auto;
    }
}