/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

/* --- INICIO: Definiciones y Aplicación de Fuentes Personalizadas --- */

/* 1. Definición de la fuente DMSans (para texto normal) */
@font-face {
    font-family: 'DMSans';
    src: url('../fonts/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* 2. Definición de la fuente Mozilla Headline (para títulos) */
@font-face {
    font-family: 'Mozilla Headline';
    src: url('../fonts/MozillaText-Regular.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 3. Aplicación Global: DMSans (400) para el cuerpo */
body {
    font-family: 'DMSans', sans-serif !important;
    font-weight: 400 !important;
}

/* 4. Aplicación Global: Mozilla Headline (700) para títulos */
h1, h2, h3, h4, h5, h6, .card-title, .app-brand-text, label, button {
    font-family: 'Mozilla Headline', sans-serif !important;
    font-weight: 500 !important;
}

/* --- FIN: Definiciones y Aplicación de Fuentes Personalizadas --- */


.menu .app-brand.demo {
    height: 64px;
    margin-top: 12px;
}

.app-brand-logo.demo svg {
    width: 22px;
    height: 38px;
}

.app-brand-text.demo {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    text-transform: lowercase;
}

.app-brand-link img {
    width: 250px;
}

.layout-menu .app-brand-link img {
    width: 10%;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
    display: block !important;
}

.demo-inline-spacing>* {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir='rtl'] .rtl-only {
    display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

.card-file-download {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.img-pdf {
    width: 50%;
}

.main-logo {
    width: 25vw !important;
}

/* Aseguramos que el loader esté centrado sobre la página */
.overlay {
    position: fixed;
    /* Fija la posición */
    top: 0;
    left: 0;
    width: 100vw;
    /* Toma toda la pantalla */
    height: 100vh;
    /* Toma toda la pantalla */
    background-color: rgba(0, 0, 0, 0.7);
    /* Fondo semi-transparente */
    display: flex;
    /* Usamos Flexbox para centrar */
    justify-content: center;
    /* Centra horizontalmente */
    align-items: center;
    /* Centra verticalmente */
    z-index: 9999;
    /* Asegura que el overlay esté sobre otros contenidos */
}

/* Estilos del loader */
.loader,
.loader div,
.loader div:after {
    box-sizing: border-box;
}

.loader {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loader div {
    animation: loader 1.2s cubic-bezier(.5, 0, .5, 1) infinite;
    transform-origin: 40px 40px;
}

.loader div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7.2px;
    height: 7.2px;
    border-radius: 50%;
    margin: -3.6px 0 0 -3.6px;
}

/* Colores diferentes para las bolitas */
.ball1:after {
    background: #004876;
}

.ball2:after {
    background: #A277A6;
}

.ball3:after {
    background: #004876;
}

.ball4:after {
    background: #A277A6;
}

.ball5:after {
    background: #004876;
}

.ball6:after {
    background: #A277A6;
}

.ball7:after {
    background: #004876;
}

.ball8:after {
    background: #A277A6;
}

/* Posicionamiento de las bolitas */
.loader div:nth-child(1) {
    animation-delay: -.036s;
}

.loader div:nth-child(1):after {
    top: 62.62742px;
    left: 62.62742px;
}

.loader div:nth-child(2) {
    animation-delay: -.072s;
}

.loader div:nth-child(2):after {
    top: 67.71281px;
    left: 56px;
}

.loader div:nth-child(3) {
    animation-delay: -.108s;
}

.loader div:nth-child(3):after {
    top: 70.90963px;
    left: 48.28221px;
}

.loader div:nth-child(4) {
    animation-delay: -.144s;
}

.loader div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.loader div:nth-child(5) {
    animation-delay: -.18s;
}

.loader div:nth-child(5):after {
    top: 70.90963px;
    left: 31.71779px;
}

.loader div:nth-child(6) {
    animation-delay: -.216s;
}

.loader div:nth-child(6):after {
    top: 67.71281px;
    left: 24px;
}

.loader div:nth-child(7) {
    animation-delay: -.252s;
}

.loader div:nth-child(7):after {
    top: 62.62742px;
    left: 17.37258px;
}

.loader div:nth-child(8) {
    animation-delay: -.288s;
}

.loader div:nth-child(8):after {
    top: 56px;
    left: 12.28719px;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ajs-message.ajs-error.ajs-visible {
    color: #FFF !important;
}

@media (min-width: 1200px) {
    ul.navbar-nav.flex-row.align-items-center.ms-auto {
        width: 100% !important;
        display: flex;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: space-between;
        align-items: center;
        margin: 0px !important;
    }
}

.card-level--Nivel_1 {
    background: rgb(236, 66, 89) !important;
    background: linear-gradient(90deg, rgba(236, 66, 89, 1) 0%, rgba(238, 99, 80, 1) 50%, rgba(255, 255, 255, 1) 100%) !important;
}

.card-level--Nivel_2 {
    background: rgb(22,175,175) !important;
    background: linear-gradient(90deg, rgba(22,175,175,1) 0%, rgba(59,186,163,1) 50%, rgba(255,255,255,1) 100%) !important;
}

.card-level--Nivel_3 {
    background: rgb(51,93,170) !important;
    background: linear-gradient(90deg, rgba(51,93,170,1) 0%, rgba(131,91,165,1) 50%, rgba(255,255,255,1) 100%) !important;
}

.card-level--Nivel_4 {
    background: rgb(53,58,62) !important;
    background: linear-gradient(90deg, rgba(53,58,62,1) 0%, rgba(53,58,62,1) 50%, rgba(255,255,255,1) 100%) !important;
}

.circle-green {
  width: 0.5em;  /* Tamaño relativo al texto */
  height: 0.5em; /* Igual a width para mantener la forma circular */
  background-color: green; /* Color verde */
  border-radius: 50%; /* Hace que el elemento sea circular */
  display: inline-block; /* Para alinearlo con el texto */
}

.card-membership {
    /*box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.3);*/
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.2));

}

.btn{
    background-color: #004876 !important;  
    border-color: #004876 !important;  
    font-size: 1.25rem; 
    transition: all 0.3s ease-in-out;
}

.btn:hover{
    background-color: #CDDD00 !important ;
    border-color: #CDDD00 !important;  
    color: #004876 !important ;
}


.h-10{
    height: 10vh !important;
}

.h-90{
    height: 90vh !important;
}