﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

.login-title {
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
}

.password-toggle {
    cursor: pointer !important;
}

.dark-mode .main-header {
    background-color: #343a40 !important;
    border-color: #4b545c !important;
}

.table-danger-expired {
    background-color: #f5c6cb !important;
}

.dark-mode .table-danger-expired {
    background-color: #745659 !important;
}

div.table-action-panel {
    display: -webkit-inline-box;
    float: right !important;
}

.dark-mode .select2-container--default .select2-selection--multiple {
    background-color: #343a40 !important;
}

.dark-mode .select2-search__field::placeholder {
    color: white !important;
    opacity: 1;
}

a.table-action-link {
    margin-left: 1rem !important;
    color: #c3cacd;
}

    a.table-action-link:hover {
        color: #007bff
    }

img.table-action-link {
    width: 20px;
    margin-right: 10px;
    filter: invert(100%) sepia(11%) saturate(2533%) hue-rotate(169deg) brightness(84%) contrast(90%);
}

    img.table-action-link:hover {
        filter: invert(53%) sepia(94%) saturate(6500%) hue-rotate(201deg) brightness(106%) contrast(107%);
    }

a.table-icon {
    color: #c3cacd;
}

a.table-icon.ok {
    color: #28a745
}

.filter-sidebar {
    width: 300px !important;
}

.table-bulk-actions-panel {
    padding-left: 0.75rem;
    padding-bottom: 0;
}

.table-bottom-panel {
    padding-top: 1rem;
}

.table-count-label {
    text-align: center;
    font-weight: 500;
}

.draggable-table tbody tr {
    cursor: move;
}

.dptable-responsive {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 185px;
}

span.sorting-link {
    cursor: pointer;
}

span.sorting-arrows {
    margin-left: 0.5rem;
}
    span.sorting-arrows:after {
        right: 0.5em;
        content: "↓";
        bottom: 0.9em;
        opacity: .3;
    }
    span.sorting-arrows:before {
        right: 1em;
        content: "↑";
        bottom: 0.9em;
        opacity: .3;
    }
    span.sorted_asc:before, span.sorted_desc:after {
        opacity: 1;
    }

a.link-back {
    padding-top:0;
    font-weight: 800;
}

.dark-mode a {
    color: #4192e7;
}

tr.member-inactive {
    background-color: #ff714b2e;
}

.datepicker {
    z-index: 1050 !important;
}

span.custom-text-danger {
    color: #dc3545
}

@media screen and (max-width: 575px) {
    span #filter-count {
        position: absolute;
        top: -3px;
        left: 32px;
    }
}

@media screen and (min-width: 576px) {
    span#filter-count {
        position: absolute;
        top: -3px;
        left: 70px;
    }
}

/*Taksi*/
.report-list-group-underline {
    border-bottom: solid;
    border-bottom-width: 1px;
    border-bottom-color: #afbac5;
    padding-top: 7px;
    padding-bottom: 7px;
}

    .report-list-group-underline ul {
        padding-left: 0;
        margin-bottom: 0;
    }

    .report-list-group-underline li {
        display: block;
    }

.report-list-group {
    padding-top: 7px;
    padding-bottom: 7px;
}

    .report-list-group ul {
        padding-left: 0;
        margin-bottom: 0;
    }

    .report-list-group li {
        display: block;
    }

@media only screen and (min-width: 576px) {
    .selected-filter {
        display: inline-block;
        float: right;
        text-align: left;
    }

    .selected-filter-wrap {
        text-align: left;
    }

    .selected-filter-label {
        float: right;
    }

    .selected-filter-label-mobile {
        display:none;
    }
}

@media only screen and (max-width: 575px) {
    .selected-filter-label {
        display: none;
    }

    .selected-filter-wrap {
        padding-top:7.5px;
    }

    .username-name {
        display: none;
    }

    .username-arrow {
        display: none;
    }

    .page-title {
        font-size: 95%;
    }
}

.list-btn-text {
    margin-left: 0.25rem;
}
@media screen and (max-width: 575px) {
    .list-btn-text {
        display: none;
        margin-left: 0.25rem;
    }
}

.selected-filter ul {
    margin-bottom: -5px;
}

/*Driver status*/

.driver-status-free {
    width: 10px;
    height: 10px;
    margin-top: 7px;
    background-color: #62bd19;
    border-radius: 50%;
    cursor: pointer;
}

.driver-status-bussy {
    width: 10px;
    height: 10px;
    margin-top: 7px;
    background-color: #fd7e14;
    border-radius: 50%;
    cursor: pointer;
}

.info-box-l {
    width: 85px !important;
}

/*Pulsating dot*/
.ring-container {
    position: relative;
}

.circle {
    width: 15px;
    height: 15px;
    background-color: #62bd19;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
}

.ringring {
    border: 3px solid #62bd19;
    -webkit-border-radius: 30px;
    height: 25px;
    width: 25px;
    position: absolute;
    left: 0px;
    top: 0px;
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;
    opacity: 0.0
}

@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(0.1, 0.1);
        opacity: 0.0;
    }

    50% {
        opacity: 1.0;
    }

    100% {
        -webkit-transform: scale(1.2, 1.2);
        opacity: 0.0;
    }
}

.more_info {
    position: relative;
    cursor: pointer;
}

    .more_info .title {
        position: absolute;
        top: 20px;
        background: #343a40;
        border-style:solid;
        border-width:1px;
        border-color:white;
        padding: 4px;
        left: 0;
        white-space: nowrap;
        color:white;
    }


/*Loader*/

.loader_overlay {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba( 26, 26, 26, 0.3 );
    z-index: 1055;
}

.loader_overlay_inner {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

.loader_overlay_content {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ripple div {
        position: absolute;
        border: 4px solid #007bff;
        opacity: 1;
        border-radius: 50%;
        animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .lds-ripple div:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

/*Card loader*/
.card_loader {
    position: absolute; /* Position relative to the card */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.3);
    z-index: 10; /* Higher than card content */
    border-radius: 0.5rem; /* Match card border radius */
}

    .card_loader .loader_overlay_inner {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .card_loader .loader_overlay_content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

 /*SWITCH*/

.switch-with-description-container {
}
    .switch-with-description-container p.switch-on-description {
        display: none;
        color: #288fff;
    }

    .switch-with-description-container p.switch-off-description {
        display: none;
        color: #9ba0a5;
    }

    .switch-with-description-container p.switch-with-description-label {
        margin-bottom:0.25rem!important;
    }


p.input-description {
    color: #9ba0a5;
}

p.input-label {
    margin-bottom: 0.25rem !important;
}

.toast-warning {
    color: #040404 !important;
}

    .toast-warning > .toast-close-button {
        color: #000 !important;
        text-shadow: 0 1px 0 #000 !important;
    }


/*SETTINGS LOGO*/
.logo-image {
    /* opacity: 0.75; */
    height: 225px;
    width: 250px;
    position: relative;
    overflow: hidden;
    /* default image */
    background: url("/img/no-image.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: solid 1px #c9c9c9;
}

.file-uploader {
    /* make it invisible */
    opacity: 0;
    /* make it take the full height and width of the parent container */
    height: 100%;
    width: 100%;
    cursor: pointer;
    /* make it absolute */
    position: absolute;
    top: 0%;
    left: 0%;
}

.upload-icon {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* initial icon state */
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ccc;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #bbb;
}

.logo-image:hover .upload-icon {
    opacity: 1;
}

@media screen and (min-width: 785px) {
    .mobile-show {
        display: none;
    }
}

@media screen and (max-width: 784px) {
    .mobile-hide {
        display: none;
    }
}


/*select2*/
.select2-container--default .select2-selection--single {
    height: 38px !important; /* Match Bootstrap's default input height */
    padding: 6px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 24px; /* Align text properly */
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}


.other-activities {
    margin: 10px 0px;
}

.other-activities .row {
    padding: 7px;
    margin: 7px 0px;
    border-style: solid;
    border-width: 1px;
    border-color: grey;
    border-radius: 10px;
}

/*CUSTOM TOOLTIP*/
.custom-tooltip-container {
    position: relative;
    display: inline-block;
}

.custom-tooltip-btn {
    /* padding: 12px 25px; */
    /* font-size: 18px;
        font-weight: bold;
        color: #ffffff;
        /* background-color: #007bff; */
    /*  border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        box-shadow: 0 8px 15px rgba(0, 123, 255, 0.4); */
}

    .custom-tooltip-btn:hover {
        /* background-color: #0056b3; */
    }

.custom-tooltip-content {
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    width: 240px;
    background: #0069d9;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    border-radius: 15px;
    transition: all 0.4s ease;
    z-index: 1500;
    box-shadow: 0px 10px 20px rgba(0, 123, 255, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.custom-tooltip-container:hover .custom-tooltip-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.custom-tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #3f6791;
}

.custom-tooltip-text {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

/*Icon preview*/
.icon-preview {
    font-size: 1.5rem;
    margin-bottom: 10px;
}