﻿
.swal2-header {
    font-size: 14px;
    font-weight: normal !important;
}

.swal2-title {
    font-weight: normal !important;
}

.uppertext {
    text-transform: uppercase;
}

.firstletter {
    text-transform: capitalize;
}

.markerlable {
    display: block;
    background-color: #0288D1;
}

/*.timeline-tabs {
    display: flex;
    list-style: none;
    margin-bottom: 10px;
    padding: 0;
    border-bottom: 1px solid #ccc;
}

    .timeline-tabs li {
        padding: 7px 14px;
        margin-right: 4px;
        cursor: pointer;
        border: 1px solid transparent;
        border-radius: 5px 5px 0 0;
        background-color: #eee;
    }

        .timeline-tabs li.active {
            background-color: #fff;
            border: 1px solid #ccc;
            border-bottom: none;
            font-weight: bold;
        }*/

.filter-row {
    background: linear-gradient(90deg, #1f97bc, #a3acb6);
    border-radius: 8px;
    padding: 15px 12px 2px 5px;
    margin: 1px 1px 5px 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    position: relative;
}

    .filter-row:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .filter-row .filter-input {
        height: 34px;
        font-size: 11px;
        font-weight: 700;
        color: #7a7373;
        border: 1px solid #b5c9e6;
        border-radius: 4px;
        background: linear-gradient(90deg, #d8dfee, #e6eaee);
    }

    .filter-row 

        .filter-row .filter-input::placeholder {
            color: #8ca0c3;
        }

    .filter-btn {
        background: linear-gradient(90deg, #4A90E2, #357ABD);
        font-size: 10px;
        color: white;
        height: 34px;
        border-radius: 6px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .filter-btn:hover {
        background: linear-gradient(90deg, #357ABD, #2a5f99);
        color:white;
    }

.timelinepanel {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 650px;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: -6px 0 18px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 15px;
    backdrop-filter: blur(10px);
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    /*  transform: translateX(100%);
        transition: transform 0.4s ease-in-out;*/
}

    .timelinepanel.show {
        display: block;
        transform: translate(x);
    }

.timeline {
    position: relative;
    margin: 30px 0;
    width: 100%;
    border-left: 4px solid transparent;
    padding-left: 20px;
    padding-top: 2px;
    background: #F1F3F6;
}

.timeline-entry {
    position: relative;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.2s ease;
    width: 48%;
}

    .timeline-entry:hover {
        cursor: pointer;
    }

.timeline-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 15px;
    transform: translateX(-50%);
    background-image: repeating-linear-gradient( to top, #2f2f2f 0px, #2f2f2f 10px, #ffffff 10px, #ffffff 18px, #2f2f2f 18px );
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    height: 0;
    z-index: 0;
    transition: height 0.5s ease;
}

    .timeline-line::before,
    .timeline-line::after {
        content: '';
        position: absolute;
        top: 0;
        height: 100%;
        width: 2px;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: -1;
    }

    .timeline-line::before {
        left: -6px;
    }

    .timeline-line::after {
        right: -6px;
    }


.timeline::before {
    display: none;
}

.timeline::after {
    display: none;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    top: 25%;
    width: 14px;
    height: 14px;
    background: #007bff;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #007bff;
    animation: pulse 1.5s infinite;
    opacity: 0.6;
    z-index: 1;
}

.time-gap-label {
    position: absolute;
    top: 25%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    font-size: 10px;
    padding: 2px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    white-space: nowrap;
}
    /*Horizontal line*/
    .time-gap-label::before {
        content: '';
        position: absolute;
        top: 50%;
        width: 46px;
        height: 2px;
        background-color: #aaa;
        transform: translateY(-50%);
    }
    /*Vertical line*/
    .time-gap-label::after {
        content: '';
        position: absolute;
        margin-top: 5px;
        top: 100%;
        left: 50%;
        width: 2px;
        height: 75px;
        background-color: #aaa;
        transform: translateX(-50%);
    }

/*  Right*/
.timeline-entry:nth-child(odd) .time-gap-label::before {
    right: 100%;
    margin-right: 5px;
}

.timeline-entry:nth-child(odd) .time-gap-label::after {
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
}

.timeline-entry:nth-child(odd) .time-gap-label {
    right: -193px;
    margin-top: 5px;
}

/*  left*/
.timeline-entry:nth-child(even) .time-gap-label::before {
    left: 100%;
    margin-left: 5px;
}

.timeline-entry:nth-child(even) .time-gap-label::after {
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
}

.timeline-entry:nth-child(even) .time-gap-label {
    left: -190px;
    margin-top: 6px;
}

.timeline-entry:nth-child(odd) {
    left: -12px;
    margin-left: 0;
    margin-left: -5px;
    text-align: center;
    height: 142px;
}

    .timeline-entry:nth-child(odd)::before {
        right: -51px;
    }

.timeline-entry:nth-child(even) {
    left: 50%;
    margin-left: 5px;
    text-align: center;
    height: 142px;
}

    .timeline-entry:nth-child(even)::before {
        left: -47px;
    }

.timeline-entry div {
    font-size: 12px;
    color: #333;
}



.visit-card {
    margin-top: -15px;
    background: white;
    padding: 6px 10px;
    border: solid 1px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 1px;
    text-align: left;
    margin-left: -5px;
    width: 275px;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.visit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.company-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid;
    margin-right: 6px;
}

.visitImage {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.text-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.outlet-name {
    font-size: 7px;
    font-weight: 700;
    color: #333;
    text-transform: capitalize;
}

.company-name {
    font-size: 6px;
    color: #777;
    font-style: italic;
}

.duration {
    font-size: 5px;
    text-align: right;
}

    .duration span {
        display: inline-block;
        color: #adaaaa;
        font-weight: bold;
        font-size: 10px;
        padding: 2px 8px;
        border-radius: 20px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        background: #f0f8ff;
        border: 1px solid #cce5ff;
        font-family: 'Courier New', monospace;
    }

.visit-item:hover {
    font-weight: bold;
}

.visit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 2px;
    margin-top: 1px;
}

.visit-item {
    display: inherit;
    text-align:center;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    font-weight: 500;
    background: white;
    padding: 1px 1px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

    .visit-item.in span,
    .visit-item.prdcheck span,
    .visit-item.shelf span,
    .visit-item.out span {
        font-size: 11px;
        font-weight: 700;
        color: #7f6f6f;
    }

.activity-items {
    display: flex;
    grid-column: span 2;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 4px 0 8px;
    margin: 0;
    color: #222;
}

    .activity-items i {
        font-size: 12px;
        color: #6c757d;
        transition: transform 0.2s ease;
    }

        .activity-items i:hover {
            transform: scale(1.1);
            color: #007bff;
        }

.visit-item.in i {
    color: #17a2b8;
    /*margin-left: 20px;*/
}

.visit-item.prdcheck i {
    color: #d39f5c;
}

.visit-item.shelf i {
    color: #0000ff;
}

.duration i {
    color: #745eb5;
    margin-right: 4px;
}

.visit-item.out i {
    color: #df3030;
    /*margin-left: 20px;*/
}

.visit-item.duration i {
    color: #745eb5;
}

.time-gap-label i {
    color: #2e19d2;
    margin-right: 8px;
}

.time-summary-box {
    display: grid;
    position: absolute;
    right:0px;
    bottom:1px;
    grid-template-columns: repeat(5, auto);
    grid-template-rows: auto auto;
    gap: 6px;
    padding: 6px;
    background-color: none;
    /* border-radius: 10px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);*/
    width: fit-content;
    margin-top: 2px;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 4px 6px;
    font-size: 7px;
    font-weight: bold;
    color: #333;
    text-align: center;
    max-width: 110px;
    width: 100%;
    transition: all 0.3s ease;
}

    .time-box:hover {
        font-size: 9px;
        color: blue;
    }

.time-summary-box:hover .time-box:not(:hover) {
    filter: blur(0.5px);
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.total-box {
    grid-column: 5;
    grid-row: 1;
}

.visitOut-box {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: auto auto;
    column-gap:7px;
    row-gap: 2px;
}

    .visitOut-box .assigned {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        align-items: center;
        gap: 2px;
        flex-direction: row;
    }

    .visitOut-box .pending {
        grid-column: 1;
        grid-row: 2;
    }

    .visitOut-box .visits {
        grid-column: 2;
        grid-row: 2;
    }

    .visitOut-box .captured {
        grid-column: 3;
        grid-row: 2;
    }

    .shelf-box {
        grid-column: 2;
        grid-row: 2;
    }

.product-box {
    grid-column: 3;
    grid-row: 2;
}

.totactive-box {
    grid-column: 4;
    grid-row: 2;
}

.travel-box {
    grid-column: 5;
    grid-row: 2;
}

.time-box i {
    font-size: 22px;
    margin-bottom: 2px;
    display: block;
    color: var(--icon-color);
}

.time-box strong {
    display: block;
    font-family: monospace;
    font-size: 12px;
    font-weight: normal;
    margin: 0;
}

.time-box.count-box strong,
.time-box.visitOut-box strong {
    display: block;
    font-family: monospace;
    font-size: 12px;
    font-weight: normal;
    margin: 0;
}

.close-btn {
    margin-top: 18px;
    margin-right: 16px;
    background-color: #ff4d4d;
    border: none;
    color: white;
    padding: 3px 8px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    z-index: 1100;
}

.disabled {
    opacity: 0.2;
    pointer-events: none;
    cursor: default;
}

.enabled {
    opacity: 1;
    pointer-events: none;
    cursor: pointer;
}

.outletPanel {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: -6px 0 18px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 15px;
    backdrop-filter: blur(10px);
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.outImage {
    width: 80px;
    height: 80px;
}

.outlet-card {
    background: #fff;
    padding: 12px;
    border: 1px solid #007bff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    margin: 10px 0;
    width: 100%;
    transition: transform 0.2s ease;
    font-family: 'Segoe UI', sans-serif;
    font-size: 10px;
}

    .outlet-card:hover {
        transform: scale(1.02);
    }

.outlet-banner {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outlet-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.outlet-content {
    padding: 12px;
}


.outlettext-info {
    display: flex;
    flex-direction: column;
}

.out-name {
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

.com-name {
    margin-top: 3px;
    font-size: 10px;
    font-weight: bold;
    color: #adaaaa;
    margin-bottom: 4px;
}

.outlet-details-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.outlet-top-details {
    font-family: 'Segoe UI', 'Roboto', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 9px;
    color: #777;
    padding: 4px 2px;
    line-height: 1.5;
}

    .outlet-top-details strong {
        font-size: 10px;
        font-weight: bold;
        color: #333;
    }

.icon-manager {
    margin-right: 5px;
    color: #4a90e2;
}

.icon-contact {
    margin-right: 5px;
    color: #27ae60;
}

.icon-address {
    margin-right: 5px;
    color: #e74c3c;
}

.tag-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tag-value {
    font-size: 10px;
    font-weight: bold;
    color: #333;
}

.tag-label {
    font-size: 8px;
    color: #777;
}

.outlet-bottom-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin: 6px 0 6px;
}

.outlet-tags {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.button {
    margin: 0;
    height: auto;
    background: transparent;
    padding: 0;
    border: none;
    white-space: nowrap;
    align-self: flex-start;
}

.button {
    --border-right: 6px;
    --text-stroke-color: rgba(201, 187, 187, 0.6);
    --animation-color: #8806df;
    --fs-size: 2em;
    letter-spacing: 3px;
    text-decoration: none;
    font-size: var(--fs-size);
    font-family: "Arial";
    position: relative;
    text-transform: uppercase;
    margin-left: 30px;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-stroke-color);
}

.hover-text {
    position: absolute;
    box-sizing: border-box;
    content: attr(data-text);
    color: var(--animation-color);
    width: 0%;
    inset: 0;
    border-right: var(--border-right) solid var(--animation-color);
    overflow: hidden;
    transition: 0.5s;
    -webkit-text-stroke: 1px var(--animation-color);
}
/* hover */
.button:hover .hover-text {
    width: 100%;
    filter: drop-shadow(0 0 23px var(--animation-color))
}

.outlet-tag {
    /*background-color: #f1f1f1;
        color: #333;
        border-radius: 15px;
        padding: 4px 10px;
        font-size: 9px;
        border: 1px solid #ccc;
        white-space: nowrap;*/
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-width: 100px;
    margin-bottom: 5px;
}

    .outlet-tag:hover {
        color: #00acee;
        transition-duration: .3s;
        font-weight: bold;
    }

        .outlet-tag:hover i {
            color: #1e7e34 !important;
        }

.outlet-tags:hover > .outlet-tag:not(:hover) {
    filter: blur(0.5px);
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.outlet-summary-box {
    display: grid;
    grid-template-columns: repeat(4, auto);
    grid-template-rows: auto;
    gap: 6px;
    padding: 6px;
    background-color: none;
    width: 100%;
    margin-top: 2px;
    margin-right: 35px;
}

.stdisabled {
    color: #dc3545;
    font-size: 12px;
}

.stenabled {
    color: #28a745;
    font-size: 12px;
}

.outlet-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 4px 6px;
    font-size: 7px;
    font-weight: bold;
    color: #333;
    text-align: center;
    max-width: 110px;
    width: 100%;
    transition: all 0.3s ease;
}

    .outlet-box:hover {
        font-size: 9px;
        color: blue;
    }

.outlet-summary-box:hover .outlet-box:not(:hover) {
    filter: blur(0.5px);
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.outlet-box i {
    font-size: 16px;
    margin-bottom: 2px;
    display: block;
    color: var(--icon-color);
}

.outlet-box strong {
    display: block;
    font-family: monospace;
    font-size: 12px;
    font-weight: normal;
    margin: 0;
}

.overview-header {
    text-align: left;
    padding: 4px 0 2px 5px;
    font-size: 14px;
    color: #333;
    font-family: 'Segoe UI', 'Roboto', 'Inter', sans-serif;
}

    .overview-header h4 {
        margin: 0;
        font-weight: 600;
        color: #2c3e50;
        letter-spacing: 0.5px;
    }

.overview-detail {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 8px;
    margin-bottom: 3px;
    font-family: 'Segoe UI', 'Roboto', 'Inter', sans-serif;
}

    .overview-detail h4 {
        margin: 0;
        margin-left: 5px;
        font-size: 13px;
        font-weight: 500;
        color: #444;
    }

.blur-content {
    filter: blur(4px);
    pointer-events: none; /*prevent clicking while blurred */
}

.userimg {
    background-image: url('../../Theme/Img/userImg (2).jpg');
}

.daily {
    font-family: 'Segoe UI', 'Roboto', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

.past {
    font-family: 'Segoe UI', 'Roboto', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

.select2-container--default .select2-results__option {
    font-size: 7px; 
    padding: 2px 2px; 
}

.custom-tooltip {
    position: absolute;
    background: #222;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.work-dashboard {
    /*    background: #28b6e3;
*/  background: #1f97bc;
    padding: 7px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 900px;
    margin: 1px auto;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.profile {
    text-align: center;
}

    .profile .pro-Image {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #fff url('../../Theme/Img/userImg (2).jpg') no-repeat center;
/*        background-image: url('../../Theme/Img/userImg (2).jpg');
*/      background-size: cover;
        margin: 0 auto 7px;
    }

    .profile h5 {
        margin: 0 0 1px 0;
        font-size: 11px;
        font-weight: normal;
        max-width: 100px;
    }

.status {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
}

    .status .sum-box {
        background: rgba(255, 255, 255, 0.15);
        padding: 6px 25px;
        border-radius: 5px;
        text-align: center;
        font-size: 22px;
        line-height: 1.2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

        .status .sum-box strong {
            font-weight: bold;
            margin: 2px 0;
        }

.progress {
    display: contents;
    align-items: center;
    gap: 15px;
}

.progress-legend {
    font-size: 20px;
    line-height:normal;
    background: rgba(255, 255, 255, 0.15);
    text-align: center;
    padding: 2px 25px;
    border-radius: 5px;
}

.progress-legend img {
    width:22px;
    height:22px;
    vertical-align: middle;
}

.legend-total {
    margin-left: 7px;
    color: #e3e31f;
}

.legend-pending {
    margin-left: 7px;
    color: #ff5252;
}

.legend-completed {
    margin-left: 7px;
    color: #85fd93;
}

.legend-captured {
    margin-left: 7px;
    color: #3bf1d9;
}

.work {
    text-align: center;
    padding: 10px 25px;
    border-radius: 5px;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: rgba(255, 255, 255, 0.15);
}

    .work strong {
        font-size: 24px;
        display: block;
    }

    .work.total {
        background: #e74c3c;
        font: bold;
    }

#supervisorFilter + .select2 .select2-selection,
#routeFilter + .select2 .select2-selection {
    background: linear-gradient(90deg, #d8dfee, #e6eaee) !important;
    color: #ffffff !important;
    border: 1px solid #b5c9e6;
    font-weight: 700;
}


.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff !important; 
    color: #fff !important; 
    border: none !important;
    padding: 2px 6px; 
    border-radius: 4px;
    font-weight: bold; 
    font-size: 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important; 
    margin-right: 5px;
}


.date-section {
    font-size: 12px;
    font-family: 'Segoe UI', 'Roboto', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: #fff;
    font-weight: 700;
    padding: 5px 5px 5px 5px;
    border-radius: 6px;
    text-align: center;
}

.summery-headsection {
    position: sticky;
    margin-top: -3px;
    background: linear-gradient(90deg, #1f97bc, #a2abb4);
    z-index: 1000;
    border-radius: 5px;
}

.holiday-legend {
    position: absolute;
    top: -35px;
    right: 1px;
    font-size: 13px;
    font-weight: bold;
}

    .holiday-legend .legend-item {
        display: inline-block;
        width: 25px;
        height: 25px;
        margin: 0 5px 0 15px;
        border: 1px solid #ccc;
        border-radius: 50%;
        text-align: center;
        font-size: 16px;
        color: #fff;
        vertical-align: middle;
    }

