@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

html,
body {
    height: 100%;
    font-family: 'Rubik', sans-serif;
    background-color: #F8F9FA !important;
}

.auth-bg {
    background-color: #F8F9FA;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='617' height='74' viewBox='0 0 1000 120'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='7.4' stroke-opacity='0.55'%3E%3Cpath d='M-500 75c0 0 125-30 250-30S0 75 0 75s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 45c0 0 125-30 250-30S0 45 0 45s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 105c0 0 125-30 250-30S0 105 0 105s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 15c0 0 125-30 250-30S0 15 0 15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500-15c0 0 125-30 250-30S0-15 0-15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 135c0 0 125-30 250-30S0 135 0 135s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3C/g%3E%3C/svg%3E");
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.skin-blue-light .sidebar a {
    color: #444 !important;
}

.btn-success {
    color: #fff !important;
}

.wrap>.container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content:
        /*"\e113"*/
        "\e151";
}

a.desc:after {
    content:
        /*"\e114"*/
        "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
}

.nav>li>form>button.logout:focus {
    outline: none;
}


/* CUSTOM CSS */

.site-header {
    padding: 0px !important;
    margin: 10px !important;
}

.speed {
    max-height: 300px;
    background-color: white;
    border-radius: 4px;
}

.banner {
    max-width: 690px !important;
    width: 100%;
    height: auto;
}

.channel {
    max-width: 530px;
    width: 100%;
    height: auto;
}

.detelnet {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.footer-brand,
.footer-links,
.footer-social-links,
.footer-copyright {
    justify-content: left !important;
}


.site-header::before {
    background: linear-gradient(57deg, rgba(62, 109, 242, 1) 100%, rgba(176, 200, 252, 1) 0%) !important;
}


.skin-blue-light .main-header .navbar {
    background-color: #3e6df2 !important;
}

.skin-blue-light .main-header .logo {
    background-color: #3e6df2 !important;
}

.skin-blue-light .main-header .navbar .sidebar-toggle:hover {
    background-color: #3e6df2 !important;
}

.btn-danger {
    background-color: #3e6df2 !important;
    border-color: #3e6df2 !important;
}

.box.box-danger {
    border-top-color: #3e6df2 !important;
}

.skin-blue-light .main-sidebar {
    border-right: none !important;
}

.blue {
    color: #196CFA;
}

.form-control {
    border-radius: 4px !important;
}

.skin-blue-light .main-header .logo {
    color: #fff !important;
}

.padding {
    padding-top: 20px;
    padding-bottom: 20px;
}

.btn-danger {
    color: #fff !important;
}

.col-center {
    float: none;
    align-items: center;
    margin: 0 auto;
}

.btn-warning {
    color: white !important;
    background-color: #FA6340 !important;
    border-color: #FA6340 !important;
}

#mapid {
    height: 500px;
    margin-bottom: 25px;
    border-radius: 4px;
}

#mapid2 {
    height: 400px;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    background-color: #3E6DF1 !important;
    border-color: #3E6DF1 !important;
    color: white !important;
}

.main-header .sidebar-toggle {
    color: white !important;
}

.center {
    text-align: center;
}

.flat {
    background: url(../images/bg.jpg) no-repeat center center !important;
    background-size: cover;
}

.logo {
    max-height: 120px;
}

.map-responsive {
    margin: 10px;
    /* overflow: hidden; */
    /* padding-bottom: 56.25%; */

    position: relative;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 300px;
    width: 100%;
}

.idcard {
    max-height: 400px;
}

.mx-auto {
    margin: 0 auto !important;
}

.bold {
    font-weight: bold;
}

.height-panel {
    height: 150px !important;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.line {
    border: 0;
    border-top: 2px dotted #8c8c8c;
}

.v-center {
    display: flex;
    align-items: center;
    justify-content: center;

}

.m-3 {
    margin: 1rem !important;
}

.mapboxgl-popup-content {
    color: #fff !important;
    background-color: #f13e3e !important;
}

.mapboxgl-popup-tip {
    border-top-color: #f13e3e !important;
}

/* Desktop only */
.update-loc {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 8px;
    z-index: 1000;
}

/* Mobile only */
@media (max-width: 989px) {
    .update-loc {
        position: absolute;
        top: 420px;
        left: 50%;
        text-align: center;
        transform: translateX(-50%);
        color: white;
        padding: 8px 15px;
        border: none;
        border-radius: 5px;
        font-size: 14px;
        font-weight: 600;
        width: 80%;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 8px;
        z-index: 1000;
    }

    #home {
        max-width: 100vw;
        background: url(../illustration/mobile-banner.jpg) repeat center center;
        background-size: cover;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }
}

/* desktop */
@media (min-width: 768px) {
    #home {
        min-height: 100vh;
        background: url(../illustration/banner.jpg) repeat center center;
        background-size: cover;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        color: white;
        max-width: 100vw;
    }
}



.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ----------- */
.card-package-col {
    cursor: pointer;
}

.card-package-subscribe-type-col {
    cursor: pointer;
}

.card-package-type {
    border-radius: 10px;
    border: 5px solid transparent;
}

.card-package-type.active {
    border: 5px solid #0D6EFD !important;
    border-radius: 10px;
}

.icon-register {
    max-width: 100px;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #1ebc57;
    text-decoration: none;
}

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

.tracking-container {
    max-width: 800px;
    margin: auto;
}

.tracking-item {
    display: flex;
    position: relative;
    margin-bottom: 20px;
}

.tracking-item:last-child {
    margin-bottom: 0;
}

.status-dot-active {
    width: 16px;
    height: 16px;
    background-color: #0d6efd;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.status-dot-inactive {
    width: 16px;
    height: 16px;
    background-color: #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.status-dot-active::after {
    content: "\2713";
    /* Unicode for checkmark */
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.status-dot-inactive::after {
    content: "\2713";
    /* Unicode for checkmark */
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.status-line-active {
    position: absolute;
    top: 15px;
    left: 7px;
    width: 2px;
    height: calc(100% + 5px);
    background-color: #0d6efd;
    z-index: 0;
}

.status-line-inactive {
    position: absolute;
    top: 15px;
    left: 7px;
    width: 2px;
    height: calc(100% + 5px);
    background-color: #ccc;
    z-index: 0;
}

.tracking-item:last-child .status-line {
    display: none;
}

.tracking-details {
    margin-left: 20px;
}

.tracking-title {
    font-weight: bold;
    margin: 0;
    margin-bottom: 5px;
}

.tracking-time {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}


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

.bg-footer {
    background-color: #013fb9 !important;
}