:root {
    --dark-grey: #757380;
    --dark-lilac: #5F259F;
    --lilac-100: #5F259D;
}

@import url("fl-base.css");

body {
    position: relative;
    /* margin: var(--header-height) 0 0 0;
    padding: 0 1rem; */
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, SFProLocalRange !important;
    font-style: normal;
    font-size: 14px;
    transition: .5s;
    background-color: hsl(var(--bodyColor) / 1);
}

hr {
    margin: 0 !important;
    padding: 0 !important;
}

.card-fl-package-header {
    margin: 0 !important;
    padding: 0 !important;
}

.card-fl-package-section {
    padding-top: 0.5rem;
    padding-bottom: 2.8rem;
}

#container-mobile-structure {
    padding-bottom: 60px !important;
}

#list-packages-client {
    max-height: 530px !important;
    overflow: auto;
}

#list-documentos-client {
    max-height: 530px !important;
    overflow: auto;
}

.fs-7 {
    font-size: 15px !important;
}

.fs-8 {
    font-size: 14px !important;
}

.bg_empty {
    background-color: unset !important;
}

.bg-info {
    background-color: #EDE1FA !important;
}

.text-primary {
    color: var(--dark-lilac) !important;
}

.text-transito {
    color: #2D7CB2 !important;
}

.text-procesando {
    color: #C69400 !important;
}

/* .text-primary {
    color: #5F259D !important;
} */

.text-primary-soft {
    color: #5F259D !important;
}

.text-warning-soft {
    color: #B25B2D !important;
}

.text-warning-icon {
    color: #FFA06D !important;
}

.text-primary-hard {
    color: #342C53 !important;
}

.input-group-text {
    border: none !important;
    background-color: #f9f9f9 !important;
}

.bg-primary {
    background-color: #5F259D !important;
}

.btn-primary {
    background-color: #5F259D !important;
}

.btn-big {
    height: 70px !important;
    width: 236px !important;
}

.btn-white {
    background-color: #ffffff !important;
}

.text-body-tertiary {
    color: #8D8A99 !important;
}
.bg-secondary {
    background-color: hsl(var(--bodyColor) / 1) !important
}

.bg-success {
    background-color:#E0FFE4 !important;
}

.nav-link:hover {
    background-color: #EDE1FA !important;
    border-radius: var(--bs-border-radius-lg) !important;
    box-shadow: var(--bs-box-shadow-sm) !important;
}

.aboslute-left-menu {
    width: 250px !important;
}


.text-menu {
    display: none;
}

.list-item-package:hover {
    background-color: #EDE1FA !important;
    border-radius: var(--bs-border-radius-lg) !important;
    box-shadow: var(--bs-box-shadow-sm) !important;
}

.list-item-documento:hover {
    background-color: #EDE1FA !important;
    border-radius: var(--bs-border-radius-lg) !important;
    box-shadow: var(--bs-box-shadow-sm) !important;
}

.border-pill-end {
    border-top-right-radius: 7rem !important;
    border-bottom-right-radius: 7rem !important;
}


.overlay-container {
    position: relative; /* Ensure the container is positioned relative */
}

.overlay-container.overlay::after {
    content: ''; /* No text content needed */
    position: fixed; /* Fixed to cover the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.116); /* Semi-transparent background */
    z-index: 777; /* Make sure it's on top of other content */
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-container.overlay::before {
    z-index: 888; /* Make sure it's on top of other content */
    content: ''; /* No text content needed */
    position: absolute;
    top: 10%;
    left: 40%;
    transform: translate(-50%, -50%); /* Center the element */
    width: 120px;
    height: 120px;
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}





/* ==================================================== */
/*   Estilos personalizados para el flujo de registro   */
/* ==================================================== */

.card-lateral {
    border-radius: 0;
    border: none;
}

.card-lateral-inner{
    width: 100%;
}

#registro-logo {
    width: 100%;
    max-width: 200px;
    height: 60px;
    padding-top: 15px;
}

#registro-footer {
    width: 100%;
    height: 30px;
}

.divider {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    height: 10px;
    width: 100%;
    margin-bottom: 10px;
}

.divider-vertical {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    width: 1px;
}

.form-label.required::after {
    content: "*";
    color: red;
    padding-left: 2px;
}

.fl-btn-client {
    height: 70px !important;
    width: 174px !important;
}

.fl-btn-w-client {
    height: 70px !important;
    width: 200px !important;
}

.fl-btn-client-success {
    background: #6ADB78 !important;
}

.fl-btn-client-primary {
    background: #5F259D !important;
}

.fl-btn-client-default {
    background: hsl(var(--bodyColor) / 1) !important;
}

.rounded-10 {
    border-radius: 4rem;
}

/* TODO: Individualizar los dos estilos comentados en el lugar donde se utiliza */
.form-control {
    /* border-radius: 30px; */
    /* height: 60px !important; */
    border: 2px solid #E7E4F2;
}

.form-label{
    font-weight: 600;
    color: #8D8A99;
    margin: 0px !important;
    font-size: 0.9em;
}

/* The actual timeline (the vertical ruler) */
.main-timeline {
    position: relative;
  }

  /* The actual timeline (the vertical ruler) */
  .main-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    border-left: 2px dashed;
    top: 0;
    bottom: 0;
    margin-left: -6px;
    opacity: 30%
  }

  /* Container around content */
  .timeline {
    position: relative;
    background-color: inherit;
    width: 100%;
  }

  /* The circles on the timeline */
  .timeline::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #d2d2d3;
    opacity: 90%;
    /*border: 5px solid #F5DF4D;*/
    top: 0px;
    left: -16;
    border-radius: 50%;
    z-index: 1;
  }

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
    /* Place the timelime to the left */
    .main-timeline::after {
      margin-left: -58px;
    }

    .timeline::after {
        left: -30px;
    }

    /* Full-width containers */
    .timeline {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .timeline::before {
      left: 60px;
      border: medium solid white;
      border-width: 10px 10px 10px 0;
      border-color: transparent white transparent transparent;
    }

  }

/* Estilos para dispositivos móviles (ancho de pantalla máximo de 767px) */
@media only screen and (max-width: 767px) {
    .card-lateral {
        border-radius: 30px 30px 0 0;
    }
}

/* Estilos para tablet y dispositivos de pantalla más grande (ancho de pantalla mínimo de 768px) */
@media only screen and (min-width: 768px) {
    .card-lateral-inner{
        width: 70%;

    }
}

.custom-check{
    padding: 8px 6px;
    border-radius: 15px;
    border: 1px solid #E7E4F2;
    margin: 5px 2px;
}

#fl-cllist-dirs {
    width: 100% !important;
}

.fl-box-sm {
    height: 171px !important;
    width: 370px !important;

}

.fl-box-libreta {
    margin-right: 0 !important;
    margin-left: 0.6rem !important;
}


.text-wrap-direccion {
    width: 17rem !important;
    display: block !important;
    text-align: justify;
    text-align-last: left;
}

.offcanvas.offcanvas-end {
    width: unset !important;
}

.ele-edit:hover {
    cursor:grab;
}

/* Se aumento el margen de la base en la representacion
de la interfaz */
@media (max-width: 575.98px) {
    #container-mobile-structure {
        padding-bottom: 120px !important;
    }
    .btn-fl-package-state {
        margin-top: 135px !important
    }
    .card-fl-package-state {
        width: 330px;
    }
    .main-timeline::after {
        margin-left: -20px;
    }
    .timeline::after {
        left: -30px;
    }
    .btn-big {
        height: 50px !important;
        width: 180px !important;
    }
    .timeline {
        padding-left: 1px !important;
    }
    #main_body_cl {
        margin-top: 86px !important;
    }
    #main_search_box {
        display: none !important;
    }
    #btn_search_box {
        display: flex !important;
    }
    #btn_hide_main_search_box {
        display: flex !important;
    }

}

/* MB */
@media (min-width: 450px) {
    .text-wrap-direccion {
        width: 17rem !important;
    }
    .fl-box-sm {
        width: 380px !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        margin-left: 20px !important;
        background-repeat: no-repeat !important;
        background-position: 226px 4px !important;
        background-size: 153px 82px !important;
    }

    #list-referrals {
        height: 400px !important;
    }

    #list-packages-client {
        height: 400px !important;
    }

    #list-documentos-client {
        height: 400px !important;
    }

    .btn-fl-package-state {
        margin-top: 135px !important
    }
    .card-fl-package-state {
        width: 330px;
    }
    .main-timeline::after {
        margin-left: -20px;
    }
    .timeline::after {
        left: -30px;
    }
    .btn-big {
        height: 50px !important;
        width: 180px !important;
    }
    .timeline {
        padding-left: 1px !important;
    }
    #main_body_cl {
        margin-top: 86px !important;
    }
    #main_search_box {
        display: none !important;
    }
    #btn_search_box {
        display: flex !important;
    }
    #btn_hide_main_search_box {
        display: flex !important;
    }
}

/* SM */
@media (min-width: 576px) {
    .text-wrap-direccion {
        width: 17rem !important;
    }
    .fl-box-sm {
        width: 417px !important;
        margin-left: 20px !important;
        margin-top: 2px !important;
        margin-bottom: 2px !important;
        background-repeat: no-repeat !important;
        background-position: 262px 4px !important;
        background-size: 153px 82px !important;
    }

    #list-referrals {
        height: 400px !important;
    }

    #list-packages-client {
        height: 400px !important;
    }

    #list-documentos-client {
        height: 400px !important;
    }

    .btn-fl-package-state {
        margin-top: 135px !important
    }
    .card-fl-package-state {
        width: 330px;
    }
    .main-timeline::after {
        margin-left: -20px;
    }
    .timeline::after {
        left: -30px;
    }
    .btn-big {
        height: 50px !important;
        width: 180px !important;
    }
    .timeline {
        padding-left: 1px !important;
    }
    #main_body_cl {
        margin-top: 86px !important;
    }
    #main_search_box {
        display: none !important;
    }
    #btn_search_box {
        display: flex !important;
    }
    #btn_hide_main_search_box {
        display: flex !important;
    }
}
/* MD */
@media (min-width: 768px) {
    .text-wrap-direccion {
        width: 17rem !important;
    }
    .fl-box-sm {
        width: 300px !important;
        background-repeat: no-repeat !important;
        background-position: 145px 4px !important;
        background-size: 153px 82px !important;
    }

    #list-referrals {
        height: 400px !important;
    }

    #list-packages-client {
        height: 400px !important;
    }

    #list-documentos-client {
        height: 400px !important;
    }

    .btn-fl-package-state {
        margin-top: 212px !important
    }
    .card-fl-package-state {
        width: 500px;
    }
    .main-timeline::after {
        margin-left: -4px;
    }
    .timeline::after {
        left: -16px;
    }
    .btn-big {
        height: 70px !important;
        width: 236px !important;
    }
    .timeline {
        padding-left: 10px !important;
    }
    #main_body_cl {
        margin-top: 10px !important;
    }
    #main_search_box {
        display: flex !important;
    }
    #btn_search_box {
        display: none !important;
    }
    #btn_hide_main_search_box {
        display: none !important;
    }
}
/* LG */
@media (min-width: 992px) {
    .text-wrap-direccion {
        width: 17rem !important;
    }
    .fl-box-sm {
        width: 322px !important;
        background-repeat: no-repeat !important;
        background-position: 167px 4px !important;
        background-size: 153px 82px !important;
    }

    #list-referrals {
        height: 600px !important;
    }

    #list-packages-client {
        height: 600px !important;
    }

    #list-documentos-client {
        height: 600px !important;
    }

    .btn-fl-package-state {
        margin-top: 212px !important
    }
    .card-fl-package-state {
        width: 500px;
    }
    .main-timeline::after {
        margin-left: -4px;
    }
    .timeline::after {
        left: -16px;
    }
    .btn-big {
        height: 70px !important;
        width: 236px !important;
    }
    .timeline {
        padding-left: 10px !important;
    }
    #main_body_cl {
        margin-top: 10px !important;
    }
    #main_search_box {
        display: flex !important;
    }
    #btn_search_box {
        display: none !important;
    }
    #btn_hide_main_search_box {
        display: none !important;
    }
}
/* XL */
@media (min-width: 1200px) {
    .text-wrap-direccion {
        width: 17rem !important;
    }
    .fl-box-sm {
        width: 314px !important;
        margin-left: 0px !important;
        /* margin-top: 10px !important;
        margin-bottom: 15px !important; */
        background-repeat: no-repeat !important;
        background-position: 161px 4px !important;
        background-size: 151px 82px !important;
    }

    #list-referrals {
        height: 600px !important;
    }

    #list-packages-client {
        height: 600px !important;
    }

    #list-documentos-client {
        height: 600px !important;
    }

    .btn-fl-package-state {
        margin-top: 212px !important
    }
    .card-fl-package-state {
        width: 500px;
    }
    .main-timeline::after {
        margin-left: -4px;
    }
    .timeline::after {
        left: -16px;
    }
    .btn-big {
        height: 70px !important;
        width: 236px !important;
    }
    .timeline {
        padding-left: 10px !important;
    }
    #main_body_cl {
        margin-top: 10px !important;
    }
    #main_search_box {
        display: flex !important;
    }
    #btn_search_box {
        display: none !important;
    }
    #btn_hide_main_search_box {
        display: none !important;
    }
}
/* XXL */
@media (min-width: 1400px) {
    .text-wrap-direccion {
        width: 17rem !important;
    }
    .fl-box-sm {
        width: 380px !important;
        margin-left: 0px !important;
        /* margin-top: 10px !important;
        margin-bottom: 15px !important; */
        background-repeat: no-repeat !important;
        background-position: 217px 4px !important;
        background-size: 160px 88px !important;
    }

    #list-referrals {
        height: 600px !important;
    }

    #list-packages-client {
        height: 600px !important;
    }

    #list-documentos-client {
        height: 600px !important;
    }

    .btn-fl-package-state {
        margin-top: 212px !important
    }
    .card-fl-package-state {
        width: 500px;
    }
    .main-timeline::after {
        margin-left: -4px;
    }
    .timeline::after {
        left: -16px;
    }

    .btn-big {
        height: 70px !important;
        width: 236px !important;
    }
    .timeline {
        padding-left: 10px !important;
    }
    #main_body_cl {
        margin-top: 10px !important;
    }
    #main_search_box {
        display: flex !important;
    }
    #btn_search_box {
        display: none !important;
    }
    #btn_hide_main_search_box {
        display: none !important;
    }
}

/* seccion global header perfil usuario */

/* secciones del perfil */
.custom-tab{
    color: #757380 !important;
    font-weight: 400;
}
.custom-tab.active {
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid var(--bs-primary) !important;
    border-radius: 0 !important;
    font-weight: 600;
    color: #342C53;
}
.custom-tab:hover {
    background: transparent !important;
    border-radius: 0 !important;
}

.profile_avatar{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
}
.profile_avatar img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.dark-grey-text{
    color: var(--dark-grey);
}

.input-container input {
    border: none;
    box-sizing: border-box;
    outline: 0;
    padding: .75rem;
    position: relative;
    width: 100%;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.text-estado-paquete {
    margin-top: 130px !important;
}

.notifications .dropdown-toggle::after {
    display: none;
}
.dropdown-menu {
    width: 320px;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 40px;
    left: -70px !important;
    border-radius: 15px;
}
.notification-item {
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.notification-content {
    flex-grow: 1;
}
.notification-icon {
    font-size: 1.5em;
    margin-left: 10px;
}
/* Estilos para el scrollbar */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}
.dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}
.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.3);
}

/* secciones del checkout */
.cuadro-resultado{
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 500px;
    margin: 0 auto;
}
#content-img-checkout{
    width: 100%;
    height: 100%;
    max-width: 200px;
    max-height: 200px;
    margin: 0 auto;
}
#content-img-checkout img{
    width: 100%;
}
/* .paquete-tracking {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 576px) {
    .paquete-tracking {
        max-width: 100%;
    }
} */

/* Estilos para el scrollbar con sweetalert */
html.swal2-shown,
body.swal2-shown {
  overflow-y: auto !important;
}
