/* ============================================================
   NECESARIO E IMPORTANTE
============================================================ */

html {
    scroll-behavior: smooth !important;
}


body {
    font-family: 'Rubik', sans-serif !important;
    background-color: var(--altoken-white) !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: 160px;
    margin: 0 auto;
    display: block;
}

/* ============================================================
   SECCION HOME: COTIZADORA - CALCULADORA
============================================================ */
#currency-list li img {
    border: 2px solid var(--altoken-white);
    border-radius: 50px !important;
}

.border-active {
    border: 2px solid var(--altoken-yellow) !important;
    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 .for-slider {
    min-width: 50%;
}

.base-crypto .for-cotizador {
    min-width: 50%;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
}



.base-crypto .select {
    position: absolute;
    right: 10px;
}

.currency-symbol {
    width: fit-content;
}

.currency-amount {
    width: 90%;
    font-family: Rubik;
    font-weight: 700;
    font-size: 28px;
    line-height: 31px;
    letter-spacing: 0.5px;
    vertical-align: middle;


}



.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;
}

.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;
}

.real-select {
    display: none;
}

#slider-calculator {
    width: 100%;
    height: 420px !important;
    position: relative;
    /* Para posicionar los slides correctamente */
    overflow: hidden;
}

#slider-calculator .slide {
    position: absolute;
    /* Todos los slides en la misma posición */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    text-align: center;
    object-fit: contain;
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    /* Siempre display: flex para mantener el contenido */
    z-index: 1;
    pointer-events: none;
    /* Desactiva interacción en los no visibles */
}

#slider-calculator .slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

#slider-calculator .slide img {
    width: 80% !important;
    height: 80% !important;
    object-fit: contain;
    aspect-ratio: 4/6;
}

#slider-calculator .slide h1 {
    min-height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: wrap;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    justify-content: center;
    align-items: center;
}

#indicators-slider-calculator .indicator.active {
    background-color: var(--altoken-yellow) !important;
}


.methods-pay {
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    z-index: 3
}

#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;
}

.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 HOME: PASOS A SEGUIR
============================================================ */
#tips .four-tips img {
    height: 150px;
    object-fit: contain
}

/* ============================================================
   SECCION HOME: CAMBIAR CON NOSOTROS
============================================================ */
.four-question .img-wrapper {
    width: 130px;
    height: 130px;
    background-color: var(--altoken-yellow);
    border-radius: 10px;
    position: relative;
    margin-top: -50px;
}

.four-question .img-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--altoken-yellow);
}

/* ============================================================
   SECCION HOME: OTC
============================================================ */
.four-otc .feature-icon {
    min-width: 80px;
    height: 130px;
    border-radius: 10px;
    position: relative;
    margin-top: -50px;
}

.four-otc .col-12:nth-child(1) {
    border-right: 0.5px solid var(--altoken-white-25) !important;
    border-bottom: 0.5px solid var(--altoken-white-25) !important;
}

.four-otc .col-12:nth-child(2) {
    border-bottom: 0.5px solid var(--altoken-white-25) !important;
}

.four-otc .col-12:nth-child(3) {
    border-right: 0.5px solid var(--altoken-white-25) !important;
}

.title-otc::before {
    left: 0;
    content: '';
    width: 130px;
    height: 3px;
    background-color: var(--altoken-yellow);
    position: absolute;
    bottom: -5px;
}

.title-otc::after {
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--altoken-yellow-50);
    position: absolute;
    bottom: -4px;
}

.btn-negociar:hover {
    background-color: var(--altoken-yellow) !important;
}

/* ============================================================
   SECCION HOME: TESTIMONIOS
============================================================ */
.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-users {
    overflow: hidden;
    width: 100%;
    padding-top: 30px;
}

.carousel-slide {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-group {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.group-user-card .user-card:first-child {
    padding-right: 30px;
}

.group-user-card .user-card:last-child {
    padding-left: 30px;
    padding-right: 0px !important;
}

.user-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.carousel-indicators {
    text-align: center;
    margin-top: 1rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
}

.carousel-indicators button.active {
    background-color: var(--altoken-yellow);
}

/* ============================================================
   SECCION HOME: NAVBAR
============================================================ */

#mainNavbar {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 4000;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
}

/* Efecto por defecto para todos los nav-link */
.navbar-nav .nav-item .nav-link {
    position: relative;
    transition: color 0.3s ease, font-weight 0.3s ease;
    font-weight: 200;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link.active {
    color: var(--altoken-indigo) !important;
    font-weight: 500 !important;
}


/* Hover para cualquier nav-link */
.navbar-nav .nav-item .nav-link:hover::before,
.navbar-nav .nav-item .nav-link:hover::after {
    content: '';
    position: absolute;
}

.navbar-nav .nav-item .nav-link:hover::before {
    bottom: 4.5px;
    height: 3px;
    width: 20px;
    background-color: var(--altoken-indigo-50);
    z-index: 2;
}

.navbar-nav .nav-item .nav-link:hover::after {
    bottom: 6px;
    left: 20px;
    height: 0.5px;
    width: 50px;
    background-color: var(--altoken-yellow-50);
    z-index: 1;
}

/* Estilos fijos para .active, sin necesidad de hover */
.navbar-nav .nav-item .nav-link.active::before,
.navbar-nav .nav-item .nav-link.active::after {
    content: '';
    position: absolute;
}

.navbar-nav .nav-item .nav-link.active::before {
    bottom: 4.5px;
    height: 3px;
    width: 20px;
    background-color: var(--altoken-indigo);
    z-index: 2;
}

.navbar-nav .nav-item .nav-link.active::after {
    bottom: 6px;
    left: 20px;
    height: 0.5px;
    width: 50px;
    background-color: var(--altoken-yellow);
    z-index: 1;
}

/* ============================================================
   SECCION HOME: FOOTER
============================================================ */
.base-deform {
    width: 100%;
    height: 900px;
    margin: auto;
    background-color: #fff;
    border-radius: 0 0 50% 50%;
    transform: translateY(-80%);
    z-index: 0;
}

.footer {
    position: relative;
    margin-top: -900px;
}

.footer .rectangule {
    margin-top: 30px;
    height: 150px;
}

.footer .base-footer {
    width: 95%;
}

/* ============================================================
   SECCION HOME: LOGIN AND REGISTER
============================================================ */

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.divider::before {
    margin-right: .5em;
}

.divider::after {
    margin-left: .5em;
}

.google-btn {
    border: 1px solid var(--altoken-secondary-50);
    border-radius: 10px;
    overflow: hidden;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.google-btn img {
    width: 24px;
    height: 24px;
}

.absolute-eye {
    position: absolute;
    right: 20px;
    top: 45px;
}

.fade-slide-enter-active,
.fade-slide-leave-active {
    transition: all 0.3s ease;
}

.fade-slide-enter,
.fade-slide-leave-to {
    opacity: 0;
    transform: translateY(-5px);
}

/* ============================================================
   SECCION INTRANET: ACCOUNT
============================================================ */

.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);
}

.float-cookie {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    left: -55px;
}

.cookie-modal-large,
#cookieModalLargeCustom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(107 114 128/ 0.6);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 5000 !important;
    padding-bottom: 20px;
}

.cookie-modal-large.show,
#cookieModalLargeCustom.show {
    opacity: 1;
    visibility: visible;
}

#cookieModalLargeCustom .modal-content {
    max-width: 60% !important;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}



.cookie-modal,
#cookieModalCustom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1050;
}

.cookie-modal.show,
#cookieModalCustom.show {
    opacity: 1;
    visibility: visible;
}

#cookieModalCustom .modal-content {
    max-width: 600px;
    width: 90%;
    animation: fadeIn 0.3s ease-in-out;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.navbar-user {
    display: flex;
}

.float-mount {
    position: absolute;
    top: 3px;
    right: -3px;
    width: 10px;
    height: 10px;
    border-radius: 50px;
    background-color: var(--altoken-yellow);
    color: var(--altoken-indigo);
    font-size: 7px;
}

.dropdown-user .picture {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#dropdown-menu-user {
    position: absolute;
    top: 50px;
    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;
}

.account-menu-user li a {
    font-weight: 300 !important;
}

.account-menu-user li a:hover {
    background-color: var(--altoken-secondary-25) !important;
}

.account-menu-user li a.active {
    background-color: var(--altoken-secondary-25) !important;
    font-weight: 500 !important;
}

.info-user .picture {
    min-width: 120px;
    min-height: 120px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.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;
    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: 170px;
}

.list-verification-two::before {
    height: 110px;
}

.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;
}

.header-row {
    font-weight: 600;
    color: var(--altoken-black);
    padding: 0 15px;
    background-color: var(--altoken-gray-2);
}

.order-card {
    padding: 15px;
    border-bottom: 1px solid var(--altoken-gray);

}

.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;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: normal;
}

.status-badge.processing {
    background-color: #195BF51A;
    border: 1px solid var(--altoken-azulejo);
    color: var(--altoken-azulejo);
}

.status-badge.observation {
    background-color: #D7322C1A;
    border: 1px solid var(--altoken-red);
    color: var(--altoken-red);
}

.status-badge.validated {
    background-color: #3CCD871A;
    border: 1px solid var(--altoken-green);
    color: var(--altoken-green);
}

.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;
}


.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 !important;
}

.title-policity::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50px;
    right: 0;
    bottom: -5px;
    width: 10%;
    height: 3px;
    background-color: var(--altoken-indigo);
}


.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;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: block;
}

.modal-dialog {
    margin: 10% auto;
    max-width: 500px;
}

.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;
}


.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: " *";
    color: var(--altoken-orange);
}