/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-92j0k3cvwz] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-92j0k3cvwz] {
    flex: 1;
}

.sidebar[b-92j0k3cvwz] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-92j0k3cvwz] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-92j0k3cvwz]  a, .top-row[b-92j0k3cvwz]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-92j0k3cvwz]  a:hover, .top-row[b-92j0k3cvwz]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-92j0k3cvwz]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-92j0k3cvwz] {
        justify-content: space-between;
    }

    .top-row[b-92j0k3cvwz]  a, .top-row[b-92j0k3cvwz]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-92j0k3cvwz] {
        flex-direction: row;
    }

    .sidebar[b-92j0k3cvwz] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-92j0k3cvwz] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-92j0k3cvwz]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-92j0k3cvwz], article[b-92j0k3cvwz] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-brand[b-7appiq78kf] {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.top-row[b-7appiq78kf] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.oi[b-7appiq78kf] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-7appiq78kf] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-7appiq78kf] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-7appiq78kf] {
        padding-bottom: 1rem;
    }

    .nav-item[b-7appiq78kf]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        .nav-item[b-7appiq78kf]  a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item[b-7appiq78kf]  a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

/* --- ESTILOS PERSONALIZADOS --- */

/* Perfil de usuario */
.user-profile[b-7appiq78kf] {
    color: #f0f0f0;
    font-weight: 500;
}

.user-name[b-7appiq78kf] {
    margin-left: 0.5rem;
}

/* Encabezado de sección (ej. "Administración") */
.nav-section-header[b-7appiq78kf] {
    font-size: 0.8rem;
    font-weight: bold;
    color: #8a8a8a; /* Color gris claro, visible sobre fondo oscuro */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.5rem 1rem 0.5rem 1.2rem; /* Espaciado para separar secciones */
}

@media (min-width: 641px) {
    .navbar-toggler[b-7appiq78kf] {
        display: none;
    }

    .collapse[b-7appiq78kf] {
        /* Mantiene el menú visible en pantallas grandes */
        display: block;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-7appiq78kf] {
        display: none;
    }

    .collapse[b-7appiq78kf] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-7appiq78kf] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Admin/BusinessTypesList.razor.rz.scp.css */
/* Estilo base para botones inspirados en Material Design */
.md-button[b-jmv119156q] {
    border: none;
    border-radius: 4px;
    padding: 6px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Sombra estándar de Material Design (elevación de 2dp) */
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    /* Transición suave para todos los cambios */
    transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

    /* Icono Bootstrap (<i>) dentro del botón */
    .md-button i[b-jmv119156q] {
        /* Mantenemos el espaciado y el ajuste vertical */
        margin-right: 8px;
        font-size: 1rem; /* Ajustamos ligeramente para el tamaño de Bootstrap Icons */
        position: relative;
        top: -1px;
        /* Opcional: seguridad para que no herede estilos de texto extraños del botón */
        font-weight: normal;
        font-style: normal;
        line-height: 1;
    }

/* Icono dentro del botón */
md-button .oi[b-jmv119156q] {
    /* 1. FORZAR LA FUENTE CORRECTA */
    /* Usamos !important para ganar cualquier conflicto de especificidad */
    font-family: 'open-iconic' !important;
    /* 2. PROTEGER DE CUALQUIER OTRA HERENCIA */
    /* Estas son propiedades estándar para asegurar que las fuentes de iconos no se rompan */
    speak: none;
    font-style: normal;
    font-weight: normal !important; /* Esencial para que el icono no se deforme */
    font-variant: normal;
    text-transform: none !important; /* Impide que el 'uppercase' del botón le afecte */
    line-height: 1;
    /* Suavizado de fuente para que se vea nítido */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 3. ESTILOS DE POSICIONAMIENTO (sin cambios) */
    margin-right: 8px;
    font-size: 1.1rem;
    position: relative;
    top: -1px;
}

/* --- Variantes de Color --- */
.md-button.md-button-primary[b-jmv119156q] {
    background-color: #0d6efd; /* Color primario de Bootstrap */
    color: white;
}

.md-button.md-button-danger[b-jmv119156q] {
    background-color: #dc3545; /* Color de peligro de Bootstrap */
    color: white;
}

/* --- Efecto Hover (aumento de elevación) --- */
.md-button:hover[b-jmv119156q], .md-button:focus[b-jmv119156q] {
    /* Sombra más pronunciada al pasar el ratón (elevación de 8dp) */
    box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
    outline: none; /* Elimina el borde de foco por defecto */
}

.md-button.md-button-primary:hover[b-jmv119156q], .md-button.md-button-primary:focus[b-jmv119156q] {
    background-color: #0b5ed7; /* Un poco más oscuro al pasar el ratón */
}

.md-button.md-button-danger:hover[b-jmv119156q], .md-button.md-button-danger:focus[b-jmv119156q] {
    background-color: #bb2d3b; /* Un poco más oscuro al pasar el ratón */
}
