 
/*BEG Para Paginas que no lleva TAB Page*/
.auryon-page-container {
    padding: 15px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
/*END Para Paginas que no lleva TAB Page*/

/*BEG Para CRUD Que llevan TAB Page*/
.auryon-crud-container {
    height: calc(100vh - 115px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header fijo */
.auryon-crud-header {
    position: sticky;
    top: 0;
    z-index: 100;
       background-color: var(--mud-palette-surface);  
    /*  background-color: var(--mud-palette-background); */
    margin-top: 1px !important;
    margin-bottom: 0px !important;
    padding-top: 4px;
    padding-bottom: 7px;
    padding-left: 7px;
    padding-right: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
     border-top: 1px solid rgba(0,0,0,0.1);  
    border-bottom: 1px solid rgba(0,0,0,0.1);
    gap: 5px; /* separa los botones */
    min-height:45px;
}


/* Tabs fijos */
.auryon-crud-tabs {
    position: sticky;
    top: 50px; /* altura del header */
    z-index: 90;
    background-color: var(--mud-palette-surface);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    /*  padding-left: 7px; */
}

.auryon-dialog-crud-tabs {
    position: sticky;
    z-index: 90;
    background-color: var(--mud-palette-surface);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Contenido que sí hace scroll */
.auryon-crud-scroll-content {
    flex: 1;
    overflow-y: auto;
    /*padding: 15px;*/
    padding: 10px;
    background-color: var(--mud-palette-background);
}

.auryon-dialog-crud-scroll-content {
    
    padding: 10px;
}

.auryon-crud-tool .mud-tab .mud-icon-root {
    width: 34px;
    height: 34px;
}
/*END Para CRUD Que llevan TAB Page*/

/* BEG === TARJETAS === */
.auryon-card {
    background: var(--mud-palette-surface, #fff);
    border-radius: 12px;
    padding: 20px;
    /* box-shadow: 0 2px 6px rgba(0,0,0,0.12);  */
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hover con sombra dinámica */
.auryon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(var(--auryon-accent-rgb, 25,118,210), 0.25);
}


/* === MODO OSCURO === */
@media (prefers-color-scheme: dark) {
    .auryon-card {
        background: var(--mud-palette-background, #1e1e1e);
        color: var(--mud-palette-text-primary, #f5f5f5);
        box-shadow: 0 2px 6px rgba(255,255,255,0.08);
    }
    .auryon-card:hover {
        box-shadow: 0 6px 18px rgba(var(--auryon-accent-rgb, 25,118,210), 0.35);
    }    
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .auryon-card {
        padding: 16px;
    }
}
/* END === TARJETAS === */


/* BEG === MODULOS HOME Y AGREGAR MODULOS === */

/*ICONO PRINCIPAL*/
.auryon-module-icon {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--mud-palette-text-primary, #424242);
    transition: color 0.3s ease;
}

.auryon-card:hover .auryon-module-icon {
    color: var(--auryon-accent, #1976d2);
}


/* === TÍTULO === */
.auryon-module-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--mud-palette-text-primary, #333);
}

/* === DESCRIPCIÓN DINÁMICA === */
.auryon-module-description {
    font-size: 0.81rem;
    color: var(--mud-palette-text-secondary, #666);
    margin-bottom: 10px;
}


@media (max-width: 768px) {
    .auryon-modules-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }
    
    .auryon-module-icon {
        font-size: 36px;
    }

    .auryon-module-title {
        font-size: 1rem;
    }
}

/* END === MODULOS HOME Y AGREGAR MODULOS === */

@media (max-width: 960px) {

    .auryon-page-container {
        margin-left: 0;
        padding: 0.8rem;
    }

    .auryon-crud-scroll-content {
        margin-left: 0;
        padding: 0.8rem;
    }
}


.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.fade-enter {
    opacity: 0;
    transform: translateY(10px);
}

.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 200ms ease, transform 200ms ease;
}



/* BEG === IMAGEN + BUSCADOR + ADD === */
.cwa-photoandtextfield-container {
    margin-top: 3px;
    position: relative;
    width: 100%;
}

/* Label igual al de MudTextField y sobre el borde */
.cwa-photoandtextfield-label {
    position: absolute;
    top: -0.6rem; /* coloca el texto justo sobre el borde */
    left: 15px; /* igual al margen del MudTextField */
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    /* color: rgba(0,0,0,0.6); */
    color: rgba(0, 0, 0, 0.87);
    background-color: #fff; /* evita que se mezcle con el borde */
    padding: 0 4px; /* simula el recorte del label flotante */
}

/* Contenedor con borde y alineación */
.cwa-photoandtextfield-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 1px solid rgba(0,0,0,0.23);
    border-radius: 14px;
    /* padding: 6px 10px; */
    padding: 0;
    padding-left: 6px;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-right: 1px;
    background-color: #fff;
    box-sizing: border-box;
}
/* END === IMAGEN + BUSCADOR + ADD === */

/* BEG BUSCADOR + ADD */
.cwa-addandtextfield-container {
    margin-top: 3px;
    position: relative;
    width: 100%;
    height: 28px; /* 🔽 reduce altura total */
    max-height: 28px;
}

/* Label */
.cwa-addandtextfield-label {
    position: absolute;
    top: -0.55rem;
    left: 12px;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.87);
    background-color: #fff;
    padding: 0 4px;
}

/* Wrapper */
.cwa-addandtextfield-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    border: 1px solid rgba(0,0,0,0.23);
    border-radius: 10px;
    padding: 0 6px; /* 🔽 elimina padding vertical */
    background-color: #fff;
    box-sizing: border-box;
}

    /* Botón */
    .cwa-addandtextfield-wrapper .mud-icon-button {
        margin-top: 0;  
        margin-bottom: 0;
        padding: 0;
    }


.cwa-onlyaddandtextfield-container {
    position: relative;
    width: 100%;
    height: 36px; /* altura exacta */
    max-height: 36px;
    margin-top: 0; /* elimina separación superior */
    padding: 0; /* elimina padding interno */
}

/* Wrapper compacto */
.cwa-onlyaddandtextfield-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 100%; /* ocupa toda la altura del contenedor */
    border: 1px solid rgba(0,0,0,0.23);
    border-radius: 10px;
    padding: 0 6px; /* solo padding horizontal */
    background-color: #fff;
    box-sizing: border-box;
}
/* END BUSCADOR + ADD*/


/*######## country-selector BEG*/
 
/*######## country-selector END*/