.sidebar {
    padding: 15px;
    font-family: 'Arial', sans-serif;
    color: #012970;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
}

.sidebar .nav-item {
    margin-bottom: 10px;
    padding: 0;
    border: none;
    background: transparent;
}

.sidebar .accordion {
    background-color: transparent;
    color: #012970;
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar .accordion:hover {
    background-color: transparent;
}

.sidebar .accordion::after {
    content: '\25BC';
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #012970;
    margin-left: 10px;
}

.sidebar .accordion.active::after {
    transform: rotate(180deg);
}

.sidebar .panel {
    padding: 0 15px;
    display: none;
    background-color: #ffffff;
    border-radius: 5px;
    margin-top: 5px;
    overflow: hidden;
    transition: max-height 0.3s ease, background-color 0.3s ease;
    border: none;
}

.sidebar .panel a {
    display: block;
    padding: 10px;
    color: #012970;
    text-decoration: none;
    font-size: 16px;
    border-radius: 3px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
}

.sidebar .panel a:hover {
    background-color: #e8f6f7;
    color: #012970;
}

.sidebar .panel a i,
.sidebar .accordion i {
    margin-right: 10px;
    font-size: 16px;
    color: #012970;
}

.sidebar .accordion.active {
    background-color: #e8f6f7;
    color: #001c4d;
}

.sidebar .sub-accordion {
    background-color: transparent;
    color: #012970;
    cursor: pointer;
    padding: 12px 25px; /* Un poco más indentado que .accordion */
    width: 100%;
    text-align: left;
    font-size: 15px; /* Solo un poco más pequeño que .accordion (16px) */
    font-weight: bold;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar .sub-accordion:hover {
    background-color: #f0f8ff;
}

.sidebar .sub-accordion::after {
    content: '\25BC'; /* Flecha */
    font-size: 11px; /* Un poco más pequeño que el de .accordion (12px) */
    transition: transform 0.3s ease;
    color: #012970;
    margin-left: 10px;
}

.sidebar .sub-accordion.active::after {
    transform: rotate(180deg);
}

.sidebar .sub-panel {
    padding: 0 25px; /* Un poco más indentado que .panel */
    display: none;
    background-color: #ffffff;
    border-radius: 3px;
    margin-top: 3px;
    overflow: hidden;
    transition: max-height 0.3s ease, background-color 0.3s ease;
    border: none;
}

.sidebar .sub-panel a {
    display: block;
    padding: 9px; /* Ligero ajuste */
    color: #012970;
    text-decoration: none;
    font-size: 15px; /* Un poco más pequeño que los enlaces de .panel */
    border-radius: 3px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
}

.sidebar .sub-panel a:hover {
    background-color: #e8f6f7;
    color: #012970;
}

.sidebar .sub-accordion.active {
    background-color: #e8f6f7;
    color: #001c4d;
}




.cardprods {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.prodimg {
    height: 96px;
    width: 96px;
    border-radius: 22px;
}

.card {
    transition: transform 0.2s;
    border: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.cardprods:hover {
    transform: scale(1.05);
}

.product-navitem {
    transition: transform 0.2s;
}


.product-navitem:hover {
    transform: scale(1.05);
}


.copy-message {
    display: none; /* Inicialmente oculto */
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    top: 0;
    right: 0; /* Ajuste para que esté cerca del botón */
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease, display 0s 0.5s; /* Agregar un retraso al ocultar */
}

.copy-message.show {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease;
}


strong {
    color: #012970;
}

div {
    color: #012970;
}


/*
p {
    color: #012970;
}

span {
    color: #012970;
}
*/

@media (min-width: 768px) {
#wallet {
    display: inline-block; /* Necesario para que respete el ancho máximo */
    max-width: 70ch; /* Limita a 20 caracteres */
    word-wrap: break-word; /* Permite cortar las palabras para ajustarlas */
    word-break: break-all; /* Alternativa para compatibilidad */
    white-space: normal; /* Permite que el texto se divida en varias líneas */
}
}
@media (max-width: 768px) {
    #wallet {
        display: inline-block; /* Necesario para que respete el ancho máximo */
        max-width: 25ch; /* Limita a 20 caracteres */
        word-wrap: break-word; /* Permite cortar las palabras para ajustarlas */
        word-break: break-all; /* Alternativa para compatibilidad */
        white-space: normal; /* Permite que el texto se divida en varias líneas */
    }
}


.select2-container--default .select2-selection--single {
    font-size: 1rem; /* Tamaño de texto igual al de un select normal */
    font-weight: 400;
    border-radius: 5px; /* Bordes redondeados */
    color: #012970 !important;
    padding: .375rem 2.25rem .375rem .75rem
}

.select2-container--default .select2-selection__arrow {
    height: 100% !important;
    width: 2.5rem !important;
    top: 50% !important;
    right: 0% !important;
    transform: translateY(-50%);
    position: absolute !important;
}

.select2-container--default .select2-selection__arrow b {
    border-width: 0.4rem 0.4rem 0 !important; /* Tamaño de la flecha */
    border-color: #012970 transparent transparent transparent !important; /* Color de la flecha */
}

.select2-selection .select2-selection--single {
    color: #012970 !important;
    border-radius: 5px !important;
    border: 1px solid #012970;
}

.select2-search__field {
    color: #012970 !important;
}

.select2-container .select2-selection--single {
    color: #012970 !important;
    height: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #012970 !important;
}
.select2-container--default .select2-dropdown {
    border-radius: 5px; /* Bordes redondeados */
    color: #012970;
}

.select2-search__field:focus {
    border: 1px solid #012970 !important; /* Borde mínimo de 1px y color azul */
    outline: none !important; /* Elimina el contorno por defecto */
    box-shadow: none !important; /* Elimina la sombra */
}

.footermio {
    color: #012970 !important;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Contenedor del QR */
.qr-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Botón de cierre */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    color: #dc3545;
}

/* Mostrar el QR */
.show {
    visibility: visible;
    opacity: 1;
}


.tab-content {
    animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}


.account-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    padding-right: 10px;
}

@media (min-width: 992px) {
    .account-label {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

