/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-uwzver8o1e] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-uwzver8o1e] {
    flex: 1;
}

.sidebar[b-uwzver8o1e] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-uwzver8o1e] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-uwzver8o1e]  a, .top-row[b-uwzver8o1e]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-uwzver8o1e]  a:hover, .top-row[b-uwzver8o1e]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-uwzver8o1e]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-uwzver8o1e] {
        justify-content: space-between;
    }

    .top-row[b-uwzver8o1e]  a, .top-row[b-uwzver8o1e]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-uwzver8o1e] {
        flex-direction: row;
    }

    .sidebar[b-uwzver8o1e] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-uwzver8o1e] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-uwzver8o1e]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-uwzver8o1e], article[b-uwzver8o1e] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-uwzver8o1e] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-uwzver8o1e] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-a8kxjhvz1r] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-a8kxjhvz1r] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-a8kxjhvz1r] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-a8kxjhvz1r] {
    font-size: 1.1rem;
}

.bi[b-a8kxjhvz1r] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-a8kxjhvz1r] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}
.bi-plus-square-fill-nav-menu[b-a8kxjhvz1r] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}
.bi-list-nested-nav-menu[b-a8kxjhvz1r] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}
.bi-list-nested-nav-menu[b-a8kxjhvz1r] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}
.bi-person-lines-fill-nav-menu[b-a8kxjhvz1r] {
    background-image: url("data: image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-lines-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6m-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5m.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1z'/%3E%3C/svg%3E");
}
.bi-person-lines-fill-nav-menu[b-a8kxjhvz1r] {
    background-image: url("data: image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-lines-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6m-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5m.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1z'/%3E%3C/svg%3E");
}
.bi-shop-nav-menu[b-a8kxjhvz1r] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-shop' viewBox='0 0 16 16'%3E%3Cpath d='M2.97 1.35A1 1 0 0 1 3.73 1h8.54a1 1 0 0 1 .76.35l2.609 3.044A1.5 1.5 0 0 1 16 5.37v.255a2.375 2.375 0 0 1-4.25 1.458A2.37 2.37 0 0 1 9.875 8 2.37 2.37 0 0 1 8 7.083 2.37 2.37 0 0 1 6.125 8a2.37 2.37 0 0 1-1.875-.917A2.375 2.375 0 0 1 0 5.625V5.37a1.5 1.5 0 0 1 .361-.976zm1.78 4.275a1.375 1.375 0 0 0 2.75 0 .5.5 0 0 1 1 0 1.375 1.375 0 0 0 2.75 0 .5.5 0 0 1 1 0 1.375 1.375 0 1 0 2.75 0V5.37a.5.5 0 0 0-.12-.325L12.27 2H3.73L1.12 5.045A.5.5 0 0 0 1 5.37v.255a1.375 1.375 0 0 0 2.75 0 .5.5 0 0 1 1 0M1.5 8.5A.5.5 0 0 1 2 9v6h1v-5a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v5h6V9a.5.5 0 0 1 1 0v6h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1V9a.5.5 0 0 1 .5-.5M4 15h3v-5H4zm5-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1zm3 0h-2v3h2z'/%3E%3C/svg%3E");
}
.bi.bi-credit-card-nav-menu[b-a8kxjhvz1r] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-credit-card' viewBox='0 0 16 16'%3E%3Cpath d='M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1H0V4z'/%3E%3Cpath d='M0 6h16v6a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2z'/%3E%3C/svg%3E");
}
.bi-cash-coin-nav-menu[b-a8kxjhvz1r] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-cash-coin' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11 15a4 4 0 1 0 0-8 4 4 0 0 0 0 8m5-4a5 5 0 1 1-10 0 5 5 0 0 1 10 0'/%3E%3Cpath d='M9.438 11.944c.047.596.518 1.06 1.363 1.116v.44h.375v-.443c.875-.061 1.386-.529 1.386-1.207 0-.618-.39-.936-1.09-1.1l-.296-.07v-1.2c.376.043.614.248.671.532h.658c-.047-.575-.54-1.024-1.329-1.073V8.5h-.375v.45c-.747.073-1.255.522-1.255 1.158 0 .562.378.92 1.007 1.066l.248.061v1.272c-.384-.058-.639-.27-.696-.563h-.668zm1.36-1.354c-.369-.085-.569-.26-.569-.522 0-.294.216-.514.572-.578v1.1zm.432.746c.449.104.655.272.655.569 0 .339-.257.571-.709.614v-1.195z'/%3E%3Cpath d='M1 0a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4.083q.088-.517.258-1H3a2 2 0 0 0-2-2V3a2 2 0 0 0 2-2h10a2 2 0 0 0 2 2v3.528c.38.34.717.728 1 1.154V1a1 1 0 0 0-1-1z'/%3E%3Cpath d='M9.998 5.083 10 5a2 2 0 1 0-3.132 1.65 6 6 0 0 1 3.13-1.567'/%3E%3C/svg%3E");
}
.bi-percent-nav-menu[b-a8kxjhvz1r] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-percent' viewBox='0 0 16 16'%3E%3Cpath d='M13.442 2.558a.625.625 0 0 1 0 .884l-10 10a.625.625 0 1 1-.884-.884l10-10a.625.625 0 0 1 .884 0M4.5 6a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m0 1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m7 6a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m0 1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5'/%3E%3C/svg%3E");
}



.nav-item[b-a8kxjhvz1r] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-a8kxjhvz1r] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-a8kxjhvz1r] {
        padding-bottom: 1rem;
    }

    .nav-item[b-a8kxjhvz1r]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-a8kxjhvz1r]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-a8kxjhvz1r]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-a8kxjhvz1r] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-a8kxjhvz1r] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-a8kxjhvz1r] {
        display: none;
    }

    .nav-scrollable[b-a8kxjhvz1r] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Clientes.razor.rz.scp.css */
.cliente-card-pro[b-bm28fndhtg] {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-radius: 1.2rem;
    padding: 1.2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    overflow: hidden;
}

    .cliente-card-pro:hover[b-bm28fndhtg] {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

/* Avatar moderno */
.avatar-pro[b-bm28fndhtg] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover actions */
.acciones-hover[b-bm28fndhtg] {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.cliente-card-pro:hover .acciones-hover[b-bm28fndhtg] {
    opacity: 1;
    transform: translateY(0);
}

/* Badges */
.badge[b-bm28fndhtg] {
    font-size: 0.7rem;
    padding: 0.4em 0.6em;
    border-radius: 0.5rem;
}
/* /Components/Pages/ClientesEditar.razor.rz.scp.css */

/* ===================== CARD PRINCIPAL ===================== */

.card-dashboard[b-0ev4eq26xx] {
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-dashboard:hover[b-0ev4eq26xx] {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.15);
}

.card-header-dashboard[b-0ev4eq26xx] {
    background: linear-gradient(90deg, #0d6efd, #0b5ed7);
    color: #fff;
    font-weight: 600;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* ===================== SECCIONES ===================== */
.section-dashboard[b-0ev4eq26xx] {
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #f0f8ff, #ffffff);
    transition: background 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp-b-0ev4eq26xx 0.5s forwards;
}

    .section-dashboard:hover[b-0ev4eq26xx] {
        background: linear-gradient(90deg, #e0f0ff, #ffffff);
        transform: translateY(-2px);
        box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.1);
    }

/* ===================== TITULOS DE SECCIÓN ===================== */
.section-title-dashboard[b-0ev4eq26xx] {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #0d6efd;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    cursor: default;
}

    .section-title-dashboard i[b-0ev4eq26xx] {
        margin-right: 0.35rem;
        transition: transform 0.3s ease, color 0.3s ease;
    }

.section-dashboard:hover .section-title-dashboard i[b-0ev4eq26xx] {
    transform: rotate(15deg) scale(1.1);
    color: #0b5ed7;
}

/* ===================== INPUTS, SELECTS, TEXTAREA ===================== */
.form-control-sm[b-0ev4eq26xx], .form-select-sm[b-0ev4eq26xx], textarea.form-control-sm[b-0ev4eq26xx] {
    border-radius: 0.45rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.2s ease;
    background-color: #fafbff;
}

    .form-control-sm:focus[b-0ev4eq26xx], .form-select-sm:focus[b-0ev4eq26xx], textarea.form-control-sm:focus[b-0ev4eq26xx] {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
        background-color: #f0f8ff;
        transform: scale(1.02);
    }

/* ===================== BOTONES ===================== */
.btn-dashboard[b-0ev4eq26xx] {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

    .btn-dashboard:hover[b-0ev4eq26xx] {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.15);
    }

/* ===================== TOOLTIPS ===================== */
.tooltip.bs-tooltip-top .tooltip-arrow[b-0ev4eq26xx]::before {
    border-top-color: #0d6efd !important;
}

.tooltip-inner[b-0ev4eq26xx] {
    background-color: #0d6efd !important;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
}

/* ===================== RESPONSIVE COLUMNS ===================== */
@media (min-width: 1200px) {
    .col-dashboard[b-0ev4eq26xx] {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .col-dashboard[b-0ev4eq26xx] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .col-dashboard[b-0ev4eq26xx] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ===================== ANIMACIONES ===================== */
@keyframes fadeInUp-b-0ev4eq26xx {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Pestañas mejoradas */
.nav-tabs-dashboard .nav-link[b-0ev4eq26xx] {
    /*border: 1px solid #dee2e6;*/
    border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-right: 0.2rem;
    /*background-color: #f8f9fa;*/
    transition: all 0.2s;
    text-align: center;
}

    .nav-tabs-dashboard .nav-link.active[b-0ev4eq26xx] {
        background-color: #ffffff;
        color: #0d6efd;
        font-weight: 600;
        box-shadow: none;
    }



/* Spin icon para cargando */
.spin[b-0ev4eq26xx] {
    animation: spin-b-0ev4eq26xx 1s linear infinite;
}

@keyframes spin-b-0ev4eq26xx {
    100% {
        transform: rotate(360deg);
    }
}
