﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/*ESTILO PANTALLA DE CARGA ANIMADA*/
/*↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

    body::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url(images/imagen-fondo-body.jpg);
        background-position: center;
        background-attachment: fixed;
        z-index: -1;
        background-size: cover;
        opacity:0.5;
    }

.rz-sidebar {
    border-inline-end: none !important;
    box-shadow: 6px 0px 10px rgba(0, 0, 0, 0.5);
}

.loading-screen {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000;
    /* Reemplaza esta URL con tu imagen de fondo */
    background-image: url('images/fondo_login2.jpg');
    background-size: cover;
    background-position: center;
    z-index: 9999;
}

    .loading-screen::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
        z-index: 1;
    }

.loading-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-main {
    position: relative;
    z-index: 3;
    width: 120px;
    height: auto;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px rgba(255, 140, 66, 0.4));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Ondas de radiofrecuencia expandiéndose */
.signal-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #FF8C42;
    border-radius: 50%;
    opacity: 0;
    animation: signalPulse 3s ease-out infinite;
}

    .signal-wave:nth-child(1) {
        animation-delay: 0s;
    }

    .signal-wave:nth-child(2) {
        animation-delay: 1s;
    }

    .signal-wave:nth-child(3) {
        animation-delay: 2s;
    }

@keyframes signalPulse {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }

    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.brand-text {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 1rem;
    animation: textFade 2s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes textFade {
    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.loading-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    text-align: center;
}

/* Puntos de carga animados */
.loading-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #FF8C42;
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.5);
}

    .dot:nth-child(1) {
        animation-delay: 0s;
    }

    .dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .dot:nth-child(3) {
        animation-delay: 0.4s;
    }

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Indicador de progreso circular */
.progress-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 180px;
    height: 180px;
}

.progress-ring-circle {
    stroke: #FF8C42;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    animation: progressRing 4s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 140, 66, 0.6));
}

@keyframes progressRing {
    0% {
        stroke-dashoffset: 565;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: 565;
    }
}

/* Sistema de monitoreo - líneas de escaneo */
.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 140, 66, 0.3) 50%, transparent 100% );
    animation: scan 4s linear infinite;
    top: 0;
    z-index: 1;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/*ESTILO PANTALLA DE CARGA ANIMADA*/
/*↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑*/


.sh-layout {
    height: 100vh;
}

:root {
    --rz-font-family: 'Montserrat', sans-serif !important;
    --rz-text-font-family: 'Montserrat', sans-serif !important;
    --rz-body-font-family: 'Montserrat', sans-serif !important;
    --rz-heading-font-family: 'Montserrat', sans-serif !important;
    --rz-button-font-family: 'Montserrat', sans-serif !important;
    --rz-primary: #D76A0B !important; /* Color principal */
    --rz-primary-light: #F88C2F !important; /* Más claro */
    --rz-primary-dark: #B5651F !important; /* Más oscuro */
    --rz-primary-contrast: #ffffff !important; /* Texto */
}
.sh-header-radzenSidebarToggle {
    color: lightgray;
    background: transparent;
    border-radius: 10px;
}

    .sh-header-radzenSidebarToggle:hover {
        color: #ffffff;
        background: #D76A0B;
        border-radius: 10px;
    }

.sh-big-icon-12 {
    font-size: 8vh !important;
}

.rz-group-header {
    display: contents;
}

.sh .rz-fieldset-content-wrapper {
    overflow: initial;
}

.sh .rz-textbox {
    width: 100%;
}

.sh .rz-label {
    font-weight: 500;
}

.sh .rz-dialog-content {
    overflow: visible;
}

.sh .rz-row {
    margin-bottom: 0.75rem !important;
    padding: 0px !important;
}

/* Es para que el ancho del form field sea el 100% del contenedor */
.sh .rz-form-field {
    width: 100%;
}

.container-sm {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.container-lg {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.sh .blazored-typeahead__results {
    width: fit-content;
    /*    max-width: 25rem;*/
    font-size: 0.95rem;
    white-space: nowrap;
}

.rz-form-field:not(.rz-floating-label) .rz-form-field-label, .rz-textbox:focus ~ .rz-form-field-label, .rz-textarea:focus ~ .rz-form-field-label, .rz-spinner:focus-within ~ .rz-form-field-label, .rz-autocomplete:focus-within ~ .rz-form-field-label, .rz-textbox:not(:placeholder-shown) ~ .rz-form-field-label, :not(.rz-state-empty) ~ .rz-form-field-label, .rz-variant-filled .rz-textarea:focus ~ .rz-form-field-label, .rz-variant-flat .rz-textarea:focus ~ .rz-form-field-label, .rz-variant-filled :not(.rz-state-empty) ~ .rz-form-field-label, .rz-variant-flat :not(.rz-state-empty) ~ .rz-form-field-label, .rz-radio-button-list-vertical ~ .rz-form-field-label, .rz-radio-button-list-horizontal ~ .rz-form-field-label, .rz-checkbox-list-vertical ~ .rz-form-field-label, .rz-checkbox-list-horizontal ~ .rz-form-field-label, .rz-chkbox ~ .rz-form-field-label, .rz-state-empty:has(.rz-placeholder) ~ .rz-form-field-label {
    top: -0.60rem;
    font-size: 0.90rem;
    font-weight: 500;
}

/*
    Estas clases son para la animacion inicial
*/
.loading-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
}

.loading-box {
    padding: 40px;
    background-color: #FFF;
    width: 300px;
    height: 250px;
    position: absolute;
    text-align: center;
    top: 25%;
    box-shadow: 0 12px 15px rgba(0,0,0,0.6);
    border-radius: 15px;
}

.loading-text p {
    color: black;
    font-size: 35px;
    font-weight: bold;
}

.loading-text img {
    width: 350px;
    height: auto;
}


/* Puntos Loading Page */
.lds-ellipsis {
    position: absolute;
    width: 80px;
    height: 80px;
    left: calc(50% - 40px);
}

    .lds-ellipsis div {
        position: absolute;
        top: 33px;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: #333333;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1) {
            left: 8px;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 8px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 32px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 56px;
            animation: lds-ellipsis3 0.6s infinite;
        }

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

@media screen and (max-width:1024px) {
    .loading-box {
        padding: 15px;
        width: 200px;
        height: 200px;
    }

    .loading-text p {
        font-size: 20px;
    }

    .loading-text img {
        width: 150px;
    }

    .lds-ellipsis {
        top: calc(50% + 50px);
    }
}

.mi-data-list-wrapper {
    --rz-datalist-item-border: 0px;
    --rz-datalist-item-background: transparent;
    --rz-datalist-background: transparent;
    --rz-datalist-content-background: transparent;
    --rz-datalist-content-padding: 0;
    --rz-datalist-data-background: transparent;
    --rz-datalist-item-margin-bottom: 1rem;
    --rz-datalist-item-padding: 0;
    --rz-datalist-item-box-shadow: none;
}

/* ESTILOS DE CARDS*/
.rz-card {
    padding: 0.7rem 0.7rem 0.4rem 0.7rem !important;
}

.card-animada {
    /*background-color: #FFFFFF;*/
    /*background: linear-gradient(to bottom, #f7f7f7, #e9ecef);
    /*background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    /*background: linear-gradient(to bottom, #fff4eb, #ffe9d6);*/
    background: linear-gradient(to bottom, #fbfbfb, #f3f5f7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 170px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

    .card-animada:hover{
        transform: scale(1.01);
        box-shadow: 0 8px 10px rgba(0, 0, 0, 0.15);
        background: linear-gradient(to bottom, #fff4eb, #ffe9d6);
        color: #1F3A57;
    }

    .card-animada:hover .text-title-card{   
        /*color: #1F3A57;*/
        color:#464648;
    }

    .card-animada:active {
        background: linear-gradient(to bottom, #fad2b0, #f5b986);
    }

.text-title-card {
    height: 100%;
    overflow: hidden;
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-style: normal;
    font-size: 0.8rem;
    color: #7A7A7A;
    font-weight: bold;
    align-content: center;
    align-items: center;
    white-space: nowrap; /* ← fuerza una sola línea */
    text-overflow: ellipsis;
}

.text-value-card {
    height: 100%;
    overflow: hidden;
  /*  font-family: Arial, sans-serif,, Helvetica, sans-serif;*/
    font-style: normal;
    font-size: 2rem;
    /*font-weight: bold;*/
    align-content: center;
    align-items: center;
}

.icon-card {
    font-size: 5rem;
    filter: drop-shadow(0px 0px 0px rgba(0,0,0,0.4));
}

.alert-icon {
    font-size: 1.2rem;
    color: limegreen;
}

.card-footer {
    flex-shrink: 0; /* Nunca cambia de tamaño */
    padding: 0.3rem;
    display: flex;
    justify-content: flex-end; /* A la derecha */
}

.footer-text {
    font-size: 0.8rem;
    font-weight: bold;
    color: rgba(0,0,0,0.4);
}

.card-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/*  ESTILOS DEL BODY GENERALES   */
.img-animada {
    transition: transform 0.25s ease;
    cursor: pointer;
}

    .img-animada:hover {
        transform: scale(1.1);
    }

.boton-animado {
transition: transform 0.25s ease, 
            background-color 0.25s ease, 
            color 0.25s ease;
cursor: pointer;
}

    .boton-animado:hover {
        transform: scale(1.2);
    }

/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}*/

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


.img-device {
    height: 130px;
    filter: drop-shadow(0 4px 15px #464648);
}


/*ESTILOS BreadCrumb*/

.text-shadow {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}

.sh-text-status {
    font-size: 0.7rem
}
    @media (max-width: 1100px) {
        .sh-text-status,
        .sh-header-dd-text {
            display: none;
        }
    }


.sh-breadcrumb-estilo {
    background-color: #D76A0B !important;
    width: fit-content;
    padding: 0.5rem;
    align-content: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.sh-breadcrumb-estilo-contenido {
    background: linear-gradient( 135deg, #D76A0B 0%, #9F4E06 100% );
    color: #ffffff;
    font-size: 1rem !important;
    padding: 0.5rem;
    border-radius: 5px;
}
    .sh-breadcrumb-estilo-contenido:hover {
        cursor: pointer;
    } 


.sh-back-boton {
    color: #FFFFFF;
    background: linear-gradient(135deg, #2f415f87 0%, #2c6ad278 100%) !important;
    font-size: 0.7rem;
    transition: all .3s ease;
}

    .sh-back-boton:hover {        
        background: linear-gradient(135deg, #2f415f 0%, #2c6ad2 100%) !important;
    }

    /*TAMAÑO ICONO BOTON*/
.rz-button-md .rzi {
    font-size: 1rem;
}


/*ESTILOS PANTALLA DE DEVICES*/
.sh-tam3010-card-devices {
    min-height: 310px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 0 0 0 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* empuja el footer al fondo */
    height: 25vh;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, #fbfbfb, #f3f5f7);
    /*FONDO DE CARD*/
    /*background-image: url(/images/fondo-device-card.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;*/
}

    /* Triángulo por defecto (se sobreescribe abajo) */
    .sh-tam3010-card-devices::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        /* Tamaño del triángulo */
        width: 0;
        height: 0;
        /* Triángulo: borde inferior + borde izquierdo */
        border-bottom: 20px solid transparent; /* color del triángulo */
        border-right: 20px solid transparent; /* lado transparente */
        border-bottom-color: var(--device-accent, #394B59);
    }

/* Rotación de colores cada 9 cards */
.sh-tam3010-device-card-column:nth-child(9n+1) .sh-tam3010-card-devices {
    --device-accent: #394B59;
}

.sh-tam3010-device-card-column:nth-child(9n+2) .sh-tam3010-card-devices{
    --device-accent: #F5C06A;
}

.sh-tam3010-device-card-column:nth-child(9n+3) .sh-tam3010-card-devices {
    --device-accent: #3F6E63;
}

.sh-tam3010-device-card-column:nth-child(9n+4) .sh-tam3010-card-devices {
    --device-accent: #B4472A;
}

.sh-tam3010-device-card-column:nth-child(9n+5) .sh-tam3010-card-devices{
    --device-accent: #704A84;
}

.sh-tam3010-device-card-column:nth-child(9n+6) .sh-tam3010-card-devices {
    --device-accent: #D96B4C;
}

.sh-tam3010-device-card-column:nth-child(9n+8) .sh-tam3010-card-devices {
    --device-accent: #5DAE9E;
}

.sh-tam3010-device-card-column:nth-child(9n+9) .sh-tam3010-card-devices {
    --device-accent: #3375FF;
}


.sh-tam3010-card-devices:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.15);
    background-color: #FFEAC8 !important;
}

    .sh-tam3010-card-devices:hover .sh-tam3010-card-icon {
        color: var(--device-accent, #394B59);
    }

.sh-tam3010-card-icon {
    /* color: var(--device-accent, #394B59);*/
    color: #ACACAD;
    font-size: 14vh !important;
    margin-top: 0vh;
    /*    filter: drop-shadow(0 0 2px)
*/
}

/*
.sh-tam3010-text-device-stack {
    background-color: chocolate;
    width: 100%;
}
*/

.sh-tam3010-devicename-text {
    overflow: hidden;
    font-style: normal;
    font-size: 1.8vh;
    color: #464648;
    font-weight: bold;
    padding: 0 2vh 2vh 2vh;
    align-items: center !important;
}
/*
.sh-tam3010-device-foot-stack {
    background-color: #464648;
    width: 100%;
}
*/
/*
.sh-tam3010-device-footer-text {
    font-size: 0.8rem;
    font-weight: bold;
    color: rgba(255,255,255,0.7);
    padding: 0.2rem;
}*/
/*FIN ESTILOS PANTALLA DE DEVICES*/

.loading-pulse {
    height: 20vh;
    animation: pulseOpacity 4s ease-in-out infinite;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.4));
}


@keyframes pulseOpacity {
    0% {
        transform: scale(0.85);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.85);
        opacity: 0.6;
    }
}


/*ESTILOS PARA CARD LOGIN*/

/*.card-login {
    height: auto;
    width: 400px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.20);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    text-align: center;
    overflow: hidden;
}*/

.card-login {
    height: auto;
    width: 400px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(207, 239, 255, 0.9);
    position: relative;
    text-align: center;
    overflow: hidden;
/*    box-shadow: 0 0 20px 1px rgba(207, 239, 255, 0.9) !important;
*/    animation: shadowPulse 3s infinite ease-in-out;
}

@keyframes shadowPulse {
    0% {
        box-shadow: 0 0 10px 6px rgba(207, 239, 255, 0);
    }

    50% {
        box-shadow: 0 0 10px 6px rgba(207, 239, 255, 0.3);
    }

    100% {
        box-shadow: 0 0 10px 6px rgba(207, 239, 255, 0);
    }
}

.info-login {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1F1F1F;
    border: none !important;
}

    .info-login::placeholder {
        color: #EDEDED;
        /*font-family: Calibri;*/
    }

    .info-login:hover {
        transform: scale(1.01);
        border-color: rgba(0,0,0,0.8) !important;
        background-color: rgba(255, 255, 255, 0.15) !important;
        transition: all .2s ease;
        outline: none !important;
        box-shadow: none !important;
    }

    /*.info-login:focus {
        border-color: #1F1F1F !important;
        background-color: rgba(0, 0, 0, 0.4) !important;
        transition: all .2s ease;
        color: white;
        outline: none !important;
        box-shadow: none !important;
    }*/

    .info-login:focus {
        border-color: #1F1F1F !important;
        background-color: rgba(255, 255, 255, 0.15) !important;
        transition: all .2s ease;
        color: white;
        outline: none !important;
        box-shadow: none !important;
    }

.fondo-login {
    /*background: linear-gradient(180deg, #000000 0%, #1a1a1a 30%, #2d2d2d 70%, #464648 100%);
    color: #e0e0e0;*/
    background-image: url(/images/fondo_login2.jpg);
    background-size: cover; /* cubre toda la pantalla */
    background-position: center; /* centra la imagen */
    background-repeat: no-repeat; /* evita que se repita */
    background-attachment: fixed;
}

.img-login {
    height: 120px;
    align-self: center;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.4));
}

/*ESTILOS PARA TABS*/

.rz-tabview-nav li a, .rz-tabview-nav li a:not([href]):not([class]) {
    display: flex;
    font-size: 0.8rem;
    align-items: center;
    height: 30px;
    color: #D76A0B;
    padding-block: var(--rz-tabs-tab-padding-block);
    padding-inline: var(--rz-tabs-tab-padding-inline);
    font-weight: var(--rz-tabs-tab-font-weight);
    text-transform: var(--rz-tabs-tab-text-transform);
    letter-spacing: var(--rz-tabs-tab-letter-spacing);
    text-decoration: none;
    cursor: pointer;
}

.rz-tabview.rz-tabview-top > .rz-tabview-nav .rz-tabview-selected {
    border-top-width: 0;
    border-bottom: 2px solid #D76A0B;
}

/*ESTILOS PARA EL NAV MENU*/
/* ================================
   CONTENEDOR GENERAL DEL MENÚ
   ================================ */
.nav-base {
    height: 100%;
    background: #000000de !important;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.15);
}

/* Quitar espacios entre item principal y subitems */
.rz-panel-menu .rz-navigation-item-wrapper,
.rz-panel-menu .rz-navigation-item,
.rz-panel-menu .rz-navigation-menu .rz-navigation-item-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* ================================
   ICONOS DEL MENÚ
   ================================ */
.rz-panel-menu .rz-navigation-item-icon {
    color: rgba(255,255,255,0.7) !important;
}

.rz-navigation-item-wrapper:hover .rz-navigation-item-icon {
    color: #D76A0B !important;
}

/* ================================
   ÍTEMS PRINCIPALES
   ================================ */
.rz-panel-menu .rz-navigation-item {
    border-block-end: 0;
    border-radius: var(--rz-panel-menu-item-border-radius);
    overflow: hidden;
}

/* Link principal del item */
.rz-panel-menu .rz-navigation-item-link {
    color: #ffffff !important;
    background: #000000de !important;
    border-bottom: none !important;
    background-position: center;
    transition: none;
}

/* Hover del item principal */
.rz-panel-menu .rz-navigation-item .rz-navigation-item-link:hover {
    color: #D76A0B !important;
    background-color: #4D4D4F !important;
}

/*Texto de items principales*/
.rz-panel-menu .rz-navigation-item-text {
    font-weight:400;
}

/* ================================
   SUBMENÚS / SUB-ÍTEMS
   ================================ */
.rz-panel-menu .rz-navigation-menu .rz-navigation-item-wrapper {
    margin: 0;
    border-radius: 0;
    background-color: transparent;
    overflow: hidden;
    color: rgba(255,255,255,0.6);
}

/* Links de items dentro de submenús */
.rz-panel-menu .rz-navigation-menu .rz-navigation-item .rz-navigation-item-link {
    color: rgba(255,255,255,0.7) !important;
    background-color: #000000c9 !important;
}

    /* Hover de sub-items */
    .rz-panel-menu .rz-navigation-menu .rz-navigation-item .rz-navigation-item-link:hover {
        color: #D76A0B !important;
        background-color: rgb(99 99 99) !important;
    }


/*ESTILOS HEADER*/
.header-estilo {
    background-image: url(/images/background-header.png);
    background-position: center;
    background-size: cover;
}

.sh-header-dropdown {
    background: none;
    color: white;
    width:10vw;
    justify-content:center;
}
    .sh-header-dropdown:focus,
    .sh-header-dropdown:hover {
        background-color: #D76A0B !important;
        color: white;
        cursor: pointer;
    }

    .sh-header-dd-text {
        font-size: 1rem;
    }     



    /*modificar padding imagen user header*/
    ul.rz-profile-menu {
        box-sizing: border-box;
        list-style: none;
        margin-block-start: 0;
        margin-block-end: 0;
        padding: 0;
        display: inline-block;
        background-color: var(--rz-profile-menu-top-item-background-color);
        border-inline-start: var(--rz-profile-menu-border);
        position: relative;
        z-index: 3;
    }

.imagen-user {
    height: 45px;
    filter: drop-shadow(0px 4px 2px rgba(0,0,0,0.14));
    padding-right:15px;
    padding-left:15px;
}

.rz-label{
    font-size: 0.9rem;
}

/*Estilos Menu*/
/*.sidebar {
    width: 250px;
    background-color: #1e293b;
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #334155;
}

.nav-menu {
    padding: 1rem;
    overflow-y: auto;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.375rem;
    color: #e2e8f0;
    text-decoration: none;
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: #334155;
    color: white;
}

.nav-toggle {
    cursor: pointer;
    justify-content: space-between;
}

.chevron {
    margin-left: auto;
    font-size: 0.75rem;
}

.submenu {
    margin-left: 1rem;
    margin-top: 0.25rem;
}

.submenu .nav-link {
    padding-left: 2.5rem;
    font-size: 0.875rem;
}
*/
/*ESTILOS DE LA DIALOG*/


/**************** ↓↓↓↓↓↓↓↓↓↓↓↓ ***************/
/**************** ESTILOS CARDS DEVICES ***************/
/**************** ↓↓↓↓↓↓↓↓↓↓↓ ***************/



.rz-dialog {
    border-radius:20px !important;
}

.generator-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 10px;
    /*    border: 1px solid #E2E8F0;*/
    padding: 0 !important;
    height: 35vh;
    min-height: 310px;
    max-width: 400px;
    min-width: 300px;
    width: 100%;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2) !important
}

    .generator-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    }

.accent-bar {
    height: 2vh;
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.status-badge {
    padding: 0.25rem 0.5rem;
}

.text-shadow-icon {
    filter: drop-shadow(0 0 6px #32cd32);
    font-size: 2vh;
    color: mediumseagreen;
}


.bg-emerald-500 {
    background-color: #10B981;
}

.bg-slate-400 {
    background-color: #94A3B8;
}

.bg-amber-500 {
    background-color: #F59E0B;
}

@@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.detail-button {
    transition: all 0.3s ease;
    background: none !important;
    box-shadow: none !important;
    padding: 0.5rem;
    border-radius: 50px;
}

.generator-card:hover .detail-button {
    background-color: #FF8C42 !important;
    color: white !important;
    transform: scale(1.03);
}

.generator-card:hover .button-icon {
    color: white;
}

.generator-card:hover .sh-text-go-details {
    color: white;
}

.sh-text-go-details {
    margin: 0;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}

/**************** ↑↑↑↑↑↑↑↑↑↑↑ ***************/
/**************** ESTILOS CARDS DEVICES ***************/
/**************** ↑↑↑↑↑↑↑↑↑↑↑ ***************/


/*------ESTILOS USER PROFILE------*/

.sh-formfield {
    margin:0.5rem;
}

.sh-card-userprofile {
    position: relative;
    overflow: hidden;
    align-content: center;
    height: auto;
    width: 50vw;
    padding: 3rem 1rem 1rem 1rem !important;
/*    border-top: 5vh solid #D76A0B;*/
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2) !important;
}

    .sh-card-userprofile::before {
        content: "";
        position: absolute;
        top: 0; /* empieza arriba */
        left: 0;
        width: 100%;
        height: 2rem; /* altura de la franja */
        background: linear-gradient( 135deg, #D76A0B 0%, #9F4E06 100% ); /* color que quieras */
        z-index: 0; /* QUEDA DETRÁS */
    }

.sh-card-form > * {
    position: relative;
    z-index: 1;
}