/* ============================================================
   NECESARIO E IMPORTANTE
============================================================ */
html {
    scroll-behavior: smooth !important;
}

.font-ubuntu {
    font-family: "Ubuntu", sans-serif !important;
}

body {
    /* font-family: 'Rubik', sans-serif !important; */
    font-family: "Ubuntu", sans-serif !important;
    background-color: var(--altoken-account) !important;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 0;
    margin: 0;
    /* user-select: none !important; */
}

/* ============================================================
   ESTILOS GENERALES Y UTILITARIOS PROPIOS
============================================================ */

/* LOGOTIPO */
.logo {
    width: 100%;
    max-width: 110px;
    margin: 0 auto;
    display: block;
}

/* ============================================================
   SECCION HOME: COTIZADORA - CALCULADORA
============================================================ */
.steps-quotation {
    width: 500px !important;
    max-width: 100%;
}

.steps-quotation ul li {
    width: 30%;
    border: none !important;
    border-bottom: 1px solid var(--altoken-indigo-25) !important;
}

.steps-quotation ul li.border-2 {
    border-bottom: 2px solid var(--altoken-indigo) !important;
}

.steps-quotation ul li i {
    font-size: 10px;
}

.step-count {
    position: absolute;
    width: 18px;
    height: 18px;
    left: 0px;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--altoken-white);
    background-color: var(--altoken-indigo-15);
    border: 1px solid var(--altoken-secondary);
}

.wrapper-steps {
    width: 580px !important;
    max-width: 100% !important;
}

.time-order {
    position: absolute;
    right: 15px;
    top: 15px;
}

/* PURA COTIZADORA */
#section-exchange {
    background-color: white;
    width: 500px !important;
    max-width: 100% !important;
}

#currency-list li img {
    border: 2px solid var(--altoken-white);
    border-radius: 50px !important;
}

.border-active {
    border: 2px solid var(--altoken-yellow) !important;
    background-color: var(--altoken-yellow-25);
    transition: all 0.2s !important;
}

.caja-cotizadora {
    border-top-right-radius: 25px;
    border-top-left-radius: 25px
}

.base-crypto {
    overflow: hidden;
    border-bottom-right-radius: 30px !important;
}



.base-crypto .select {
    position: absolute;
    right: 10px;
}

.currency-symbol {
    width: fit-content;
}

.currency-amount {
    width: 90%;
    font-family: "Ubuntu", sans-serif !important;
    font-weight: 700;
    font-size: 28px;
    line-height: 31px;
    letter-spacing: 0.5px;
    vertical-align: middle;

    height: 25px !important;
    padding-left: 0px !important;
    margin-left: 0px !important;


}

.custom-select {
    position: relative;
    height: auto !important;
    border: none !important;
    padding: 0 !important;
    margin-right: 0px;
    background: #fff !important;
}

.selected-option {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
}

.selected-option img {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    object-fit: contain;
    object-position: center;
}

.options {
    position: absolute;
    overflow: hidden;
    top: 100%;
    left: 0;
    display: none;
    background: white;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.option {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px;
    cursor: pointer;
}

.option:hover {
    background: #f0f0f0;
}

.option .option-text {
    font-weight: 500 !important;
}

.selected-option .selected-text {
    font-weight: 500 !important;
}

.option img {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    object-fit: contain;
    object-position: center;
}

.real-select {
    display: none;
}

#slider-calculator {
    width: 100%;
}

#slider-calculator .slide {
    display: none;
    transition: opacity 0.5s ease-in-out;
    text-align: center;
}

#slider-calculator .slide img {
    width: 90%;
}

#slider-calculator .slide.active {
    display: block;
}

#indicators-slider-calculator .indicator.active {
    background-color: var(--altoken-yellow) !important;
}

#amount-minimun {
    position: relative;
    border-bottom-left-radius: 10px;
    border-top: 1px solid var(--altoken-secondary-50);
    border-bottom-right-radius: 10px;
    font-size: 12px;
    color: var(--altoken-black);
    background-color: var(--altoken-orange-25);
    font-weight: 300 !important;
    z-index: inherit;
}

.amount-last {
    position: relative;
    border-bottom-left-radius: 10px;
    border-top: 1px solid rgb(126 147 162) !important;
    border-bottom-right-radius: 10px;
}

.exchange-button-container {
    padding-right: 100px;
    margin-top: -20px !important;
    margin-bottom: -20px !important
}


.exchange-button-container #exchange-button {
    z-index: 200;
    background-color: var(--altoken-yellow);
    transition: all 0.3s;
    border: 3px solid var(--altoken-white) !important;

}


.exchange-button-container #exchange-button .exchange-icon {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.exchange-button-container #exchange-button:hover>.exchange-icon {
    transform: rotate(270deg) !important;
}

.rotated {
    transform: rotate(270deg) !important;
}


/* ============================================================
   SECCION DASHBOARD: NAVBAR
============================================================ */
#mainNavbar {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 9999;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* PARA SCROLL DE NOTIFY*/
#dropdown-menu-notify::-webkit-scrollbar {
    width: 5px !important;
}

#dropdown-menu-notify::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 00px !important;
}

#dropdown-menu-notify::-webkit-scrollbar-thumb {
    background: #a1a1a171 !important;
    border-radius: 0px !important;
}

#dropdown-menu-notify::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

#dropdown-menu-notify {
    position: absolute;
    top: 55px;
    right: 0px;
    z-index: 1;
    height: 0px;
    width: 300px;
    max-height: fit-content;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#dropdown-menu-notify.show {
    max-height: fit-content !important;
    height: 600px !important;
    overflow-y: auto;
}

#dropdown-menu-notify .account-menu-notify {
    background-color: #ffffff;
    padding: 10px 20px;
}

#dropdown-menu-notify .account-menu-notify span::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    top: 6px;
    margin-left: 5px;
    background-color: var(--altoken-red);
    border-radius: 50px;
}

.account-menu-notify li:hover .show-mouse {
    cursor: pointer !important;
    transition: all 0.3s ease-in-out !important;
    background-color: var(--altoken-indigo-25) !important;
}


#dropdown-menu-user {
    position: absolute;
    top: 55px;
    right: 0;
    z-index: 1;
    height: 0px;
    width: max-content;
    max-height: fit-content;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#dropdown-menu-user.show {
    height: fit-content !important;
}

#dropdown-menu-user .account-menu-user {
    background-color: #ffffff;
    padding: 10px !important;
}

.navbar-user {
    display: flex;
}

.float-mount {
    position: absolute;
    top: 0px;
    right: 7px;
    width: 18px;
    height: 18px;
    padding: 1px;
    border-radius: 50px;
    background-color: var(--altoken-yellow);
    color: var(--altoken-indigo);
    font-size: 10px;
    border: 1px solid white;
}

.dropdown-user .picture {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.account-menu-user li a {
    /* font-weight: 350 !important; */
    border-radius: 3px !important;
    overflow: hidden;
}

.account-menu-user li a:hover {
    background-color: var(--altoken-indigo-15);
}

.account-menu-user li a.active {
    background-color: var(--altoken-indigo-15) !important;
    /* font-weight: 500 !important; */
}

.account-menu-user li a svg {
    width: 30px;
    margin-right: 20px;
}


.logout-account:hover {
    background-color: var(--altoken-red) !important;
}



/* ============================================================
   SECCION DASHBOARD: SIDEBAR
============================================================ */
.sidebar {
    max-width: 300px;
    height: fit-content;
    z-index: 9998;
}

.content {
    max-width: 100%;
    width: 100%;
}

/* ============================================================
   SECCION INTRANET: ACCOUNT
============================================================ */
.instruction-div {
    width: max-content !important;
}

.shadow-info {
    background-color: #e9ecf4 !important;
}

.user-float {
    width: 120px;
    height: 120px;
    position: absolute;
    top: -50px;
    left: -50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--altoken-indigo);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.card-custom {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}


.arrow-discontinue.first {
    position: absolute;
    width: 10%;
    transform: translateX(-280px) translateY(-50px);
}

.arrow-discontinue.second {
    position: absolute;
    width: 10%;
    transform: scaleY(-1);
}

.arrow-discontinue.three {
    position: absolute;
    width: 10%;
    transform: translateX(280px) translateY(-50px);
}



.search-wrapper i {
    right: 10px;
    transform: translateY(75%);
}

.upload-box {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
    position: relative;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-box.dragover {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.upload-box img.preview {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.upload-box i {
    font-size: 30px;
}

.btn-warning {
    background-color: #ffea00;
    color: #000;
    font-weight: bold;
}

.collapse-section {
    display: none;
    margin-top: 1rem;
}

.active-tab {
    font-weight: bold;
    text-decoration: underline;
}


.verification-line::before {
    content: '';
    width: 1.2px;
    top: 20px;
    position: absolute;
    background-color: var(--altoken-indigo);
}

.list-verification-one::before {
    height: 160px;
}

.list-verification-two::before {
    height: 125px;
}

.verification-circle::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 5px solid var(--altoken-indigo);
    left: 14px;
    position: absolute;
    background-color: var(--altoken-white);
}

.verification-circle div {
    padding-top: -10px !important;
}


/* ===========================
   CUSTOM SELECT INTRANET
=========================== */
.dropdown.select .btn {
    border: 1px solid rgb(126 147 162) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none !important;
    height: 48px !important;
    font-size: 1rem !important;
    color: var(--altoken-black) !important;
    overflow: hidden;
}

.dropdown.select .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: start;
    overflow-x: hidden;
    font-size: 1rem !important;

}

.dropdown.select .dropdown-item-select {
    display: flex;
    align-items: center;
    overflow-x: hidden;
    justify-content: space-between;
}


/* ===========================
   CUSTOM SEARCH INTRANET
=========================== */
.search-wrapper {
    position: relative;
}

.search-wrapper input {
    padding-right: 40px;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 30px;
    transform: translateY(-100%);
    pointer-events: none;
}

.search-wrapper input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Botones */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===========================
   CUSTOM TABLE RESPONSIVE
=========================== */

.header-row {
    font-weight: 600;
    color: var(--altoken-black);
    padding: 0 15px;
    background-color: var(--altoken-head-table);
    font-size: 14px !important;
}

.order-card {
    padding: 15px;
    border-bottom: 1px solid var(--altoken-gray);
    font-size: 14px !important;
}

.order-card:last-child {
    border-bottom: 0px !important;
}

.order-number {
    font-weight: bold;
    text-align: center;
    padding-top: 5px;
}

.order-details>div {
    margin-bottom: 5px;
    line-height: 1.4;
}

.order-date {
    padding-top: 5px;
    color: #6c757d;
}

.pagination-container select {
    cursor: pointer;
}

.pagination-controls {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.page-link {
    border: none !important;
    color: #495057 !important;
}

.page-link:focus {
    border: none !important;
    box-shadow: none !important;
}

.page-item.active .page-link {
    border: 0px !important;
    background-color: var(--altoken-gray-2) !important;
    border-radius: 4px;
}

/* ===========================
   NUEVOS ESTILOS RESPONSIVE
=========================== */

/* Desktop view - mantiene la estructura de tabla */
@media (min-width: 768px) {
    .table-desktop {
        display: block;
    }

    .table-mobile {
        display: none;
    }
}

/* Mobile view - cambia a cards */
@media (max-width: 767.98px) {
    .table-desktop {
        display: none;
    }

    .table-mobile {
        display: block;
    }

    .mobile-card {
        background: white;
        border: 1px solid var(--altoken-gray);
        border-radius: 8px;
        padding: 15px;
        /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    }

    .mobile-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .mobile-card-body .row {
        margin-bottom: 8px;
    }

    .mobile-label {
        font-weight: 600;
        color: #6c757d;
        font-size: 0.875rem;
    }

    .mobile-value {
        font-weight: 400;
        word-break: break-word;
    }

    /* Pagination responsive */
    .pagination-container {
        flex-direction: column;
        gap: 15px;
    }

    .pagination-container>div {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .pagination-controls {
        order: 2;
    }

    .items-count {
        order: 3;
    }

    /* Hacer la paginación más pequeña en móvil */
    .pagination .page-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .header-row {
        font-size: 0.875rem;
    }

    .order-card {
        font-size: 0.875rem;
    }
}

/* Hide less important columns on smaller screens */
@media (max-width: 991.98px) {
    .hide-md {
        display: none !important;
    }
}

/* Mejoras generales */
.badge {
    font-size: 0.75rem;
}

/* Para textos largos que no se rompan bien */
.mobile-value {
    overflow-wrap: break-word;
    word-wrap: break-word;
}


.alert-box {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background-color: #0000006e;
    display: none;
}

.alert-box .alert {
    width: 450px;
}

.form-box {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #0000006e;
    display: none;
}

.form-box .form {
    width: 550px;
}

.form-box .form h3::before {
    content: '';
    width: 100px;
    height: 2px;
    background-color: var(--altoken-yellow);
    position: absolute;
    bottom: 0px;
}

.detail-box {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #0000006e;
    display: none;
}

.detail-box .detail {
    width: 550px;
}

.detail-box .detail h3::before {
    content: '';
    width: 100px;
    height: 3px;
    background-color: var(--altoken-yellow);
    position: absolute;
    bottom: 0px;
}

.title-policity {
    position: relative;
}

.title-policity::before {
    content: '';
    position: absolute;
    ;
    bottom: -5px;
    left: -112px;
    bottom: -5px;
    width: 10%;
    height: 3px;
    background-color: var(--altoken-indigo);
    transform: translateX(100%);
}


.recompensa-box {
    border: 3px solid #1d1b4f;
    border-radius: 20px;
    padding: 20px;
    max-width: 250px;
    margin: auto;
    background: var(--altoken-white);
}

.recompensa-header {
    font-weight: bold;
    color: #1d1b4f;
}

.recompensa-icon {
    width: 100px;
    margin: 10px 0;
}

.recompensa-monto {
    font-size: 24px;
    font-weight: bold;
    color: #1d1b4f;
}

.recompensa-barra {
    height: 6px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.recompensa-progreso {
    height: 100%;
    background: #1d1b4f;
    border-radius: 50px;
}

.tarea-ruta {
    max-width: 800px;
    margin: auto;
}

.tarea-item {
    min-width: 80px;
}

.tarea-label {
    font-weight: bold;
    font-size: 14px;
    background: var(--altoken-indigo-15);
    padding: 7px 12px;
    border-radius: 8px;
    margin-bottom: 5px;
    color: var(--altoken-indigo);
}

.tarea-icon {
    width: 100px;
}

.tarea-monto {
    font-weight: bold;
    color: #1d1b4f;
}

.tarea-conector {
    height: 4px;
    flex-grow: 1;
    background: #1d1b4f;
    position: relative;
    top: 24px;
    margin: 0 5px;
}



.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question:hover {
    color: var(--altoken-azulejo);
    /* indigo */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 12px;
    font-size: 0.95rem;
    color: #333;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding-bottom: 12px;
}

label.required::after {
    content: " *";
    padding-left: 2px;
    color: var(--altoken-orange);
}


/* ============================================================
   CUSTOM MODAL
============================================================ */
.modal {
    /* display: none;
    position: fixed;
    z-index: 5000 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(107 114 128/ 0.6);
    backdrop-filter: blur(2px); */

    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgb(107 114 128/ 0.6) !important;
    backdrop-filter: blur(5px) !important;
    z-index: 10000 !important;
    width: 100%;
    height: 100%;

}

.modal.show {
    display: block;
}

.modal-dialog {
    margin: 0 auto !important;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    box-shadow: 0px 2px 20px 0px #00000033 !important;
    border-radius: 10px !important;
    border: none !important;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-dialog.form {
    max-width: 500px;
}

.modal-dialog.confirmation {
    max-width: 400px;
}

.moda-footer {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.close {
    background: none;
    border: none;
    font-size: 1.5rem;
}

/* .modal-title::before {
    content: '';
    width: 80px;
    height: 3px;
    background-color: var(--altoken-indigo);
    position: absolute;
    bottom: -5px;
}

.modal-title.form::before {
    content: '';
    width: 85px;
    height: 4px;
    background-color: var(--altoken-yellow);
    position: absolute;
    bottom: -5px;
} */

/* Transiciones del modal */
/* Transitions */
.modal-backdrop-enter-active,
.modal-backdrop-leave-active {
    transition: all 0.3s ease;
}

.modal-backdrop-enter,
.modal-backdrop-leave-to {
    opacity: 0;
}

.modal-content-enter-active {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-content-leave-active {
    transition: all 0.3s ease;
}

.modal-content-enter {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
}

.modal-content-leave-to {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
}


/*EN CASO TENGA BUSCADOR*/
.icon-search {
    top: 2px;
    right: 20px !important;
    width: 45px;
    height: 45px;
    font-size: 20px;
    border-radius: 50px;
    background-color: var(--altoken-white);
    transition: all 0.3s;
    transform: scale(0.9);

}

.icon-search:hover {
    color: var(--altoken-black) !important;
}

/* ============================================================
   CUSTOM BADGE
============================================================ */
.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: normal;
}

.status-badge.approved {
    background-color: var(--altoken-green-15);
    border: 1px solid var(--altoken-green);
    color: var(--altoken-green);
}

.status-badge.processing {
    background-color: var(--altoken-green-15);
    border: 1px solid var(--altoken-azulejo);
    color: var(--altoken-azulejo);
}

.status-badge.observation {
    background-color: var(--altoken-red-15);
    border: 1px solid var(--altoken-red);
    color: var(--altoken-red);
}

.status-badge.validated {
    background-color: var(--altoken-green-15);
    border: 1px solid var(--altoken-green);
    color: var(--altoken-green);
}


.status-badge.pendenting {
    background-color: var(--altoken-azulejo-15);
    border: 1px solid var(--altoken-azulejo);
    color: var(--altoken-azulejo);
}


.status-badge.rejected {
    background-color: var(--altoken-red-15);
    border: 1px solid var(--altoken-red);
    color: var(--altoken-red);
}

.rounded-pill {
    border-radius: 50px !important;
}