/* /Pages/Ejecucion/OrdenTrabajo.razor.rz.scp.css */
/* OrdenTrabajo Module — Premium Design System */

.background-container[b-ii2ywssw0s] {
    padding: 1rem 1rem 0;
    position: relative;
    background: #f8fafc;
    min-height: 100vh;
}

/* Image Selection Designs */
.selector-container[b-ii2ywssw0s] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.selector-search-bar[b-ii2ywssw0s] {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

.imagen-grid[b-ii2ywssw0s] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    max-height: 50vh;
    overflow-y: auto;
    padding: 5px;
}

.imagen-card[b-ii2ywssw0s] {
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.imagen-card:hover[b-ii2ywssw0s] {
    transform: translateY(-3px);
    border-color: var(--verdesagem, #28a745);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.imagen-wrapper[b-ii2ywssw0s] {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f5f9;
}

.imagen-wrapper img[b-ii2ywssw0s] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.imagen-card:hover .imagen-wrapper img[b-ii2ywssw0s] {
    transform: scale(1.08);
}

.imagen-name[b-ii2ywssw0s] {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Form Styles */
.image-thumb[b-ii2ywssw0s] {
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.image-thumb img[b-ii2ywssw0s] {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.equipo-img-hover[b-ii2ywssw0s] {
    position: relative;
    cursor: pointer;
}

.equipo-img-hover:hover[b-ii2ywssw0s] {
    border-color: var(--verdesagem, #2e7d32);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
}

.equipo-img-hover[b-ii2ywssw0s]::after {
    content: '📷 Cambiar';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.equipo-img-hover:hover[b-ii2ywssw0s]::after {
    opacity: 1;
}

/* Info Cards */
.equipment-info-card[b-ii2ywssw0s] {
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.equipment-info-card:hover[b-ii2ywssw0s] {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Legacy Migrations */
.modal-popup[b-ii2ywssw0s] {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    width: 90%;
    max-width: 768px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-overlay[b-ii2ywssw0s] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

/* Syncfusion Grid Overrides */
:deep(.e-grid .e-toolbar .e-tbar-btn-text)[b-ii2ywssw0s] {
    display: none;
}

/* Dialog Header Custom Colors */
:deep(.dialog-seleccion .e-dlg-header)[b-ii2ywssw0s] {
    background-color: #ffe5e5 !important;
}

:deep(.dialog-normal .e-dlg-header)[b-ii2ywssw0s] {
    background-color: #e6f7ff !important;
}

/* Dialog border styles based on OT origen */
:deep(.dialog-origen-soltra .e-dlg)[b-ii2ywssw0s] {
    border-top: 4px solid var(--otsoltra, #FF6B6B) !important;
}

:deep(.dialog-origen-falla .e-dlg)[b-ii2ywssw0s] {
    border-top: 4px solid var(--otfalla, #FF0000) !important;
}

:deep(.dialog-origen-plan .e-dlg)[b-ii2ywssw0s] {
    border-top: 4px solid var(--otplan, #4169E1) !important;
}

:deep(.dialog-origen-prog .e-dlg)[b-ii2ywssw0s] {
    border-top: 4px solid var(--otprog, #32CD32) !important;
}

:deep(.dialog-origen-default .e-dlg)[b-ii2ywssw0s] {
    border-top: 4px solid #6c757d !important;
}
/* /Pages/GaleriaFotos.razor.rz.scp.css */
/* Photo Gallery — Premium Design System (Equipos Style) */

.gallery-container[b-fjiohb2ye4] {
    padding: 1rem;
    background: #f8fafc;
    min-height: 100vh;
}

/* Premium Search & Filter Bar */
.premium-search-bar[b-fjiohb2ye4] {
    background: #fff;
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.premium-search-bar .input-group[b-fjiohb2ye4] {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.premium-search-bar .input-group:focus-within[b-fjiohb2ye4] {
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
    border-color: var(--verdesagem, #28a745);
}

.premium-search-bar .form-control[b-fjiohb2ye4], 
.premium-search-bar .input-group-text[b-fjiohb2ye4] {
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
}

.premium-search-bar .input-group-text[b-fjiohb2ye4] {
    background-color: #f8fafc;
    color: #94a3b8;
}

/* Image Grid System */
.imagen-grid[b-fjiohb2ye4] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.imagen-card[b-fjiohb2ye4] {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.imagen-card:hover[b-fjiohb2ye4] {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--verdesagem, #28a745);
}

.imagen-wrapper[b-fjiohb2ye4] {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}

.imagen-wrapper img[b-fjiohb2ye4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.imagen-card:hover .imagen-wrapper img[b-fjiohb2ye4] {
    transform: scale(1.1);
}

/* Overlay with actions on hover */
.imagen-overlay[b-fjiohb2ye4] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.imagen-card:hover .imagen-overlay[b-fjiohb2ye4] {
    opacity: 1;
}

.action-btn[b-fjiohb2ye4] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.action-btn.btn-view[b-fjiohb2ye4] { background: #fff; color: #1e293b; }
.action-btn.btn-view:hover[b-fjiohb2ye4] { transform: scale(1.1); background: #f8fafc; }

.action-btn.btn-rename[b-fjiohb2ye4] { background: #ffca28; color: #fff; }
.action-btn.btn-rename:hover[b-fjiohb2ye4] { transform: scale(1.1); background: #ffb300; }

.action-btn.btn-delete[b-fjiohb2ye4] { background: #ef4444; color: #fff; }
.action-btn.btn-delete:hover[b-fjiohb2ye4] { transform: scale(1.1); background: #dc2626; }

/* Info Area */
.imagen-info[b-fjiohb2ye4] {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

.imagen-name[b-fjiohb2ye4] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.imagen-date[b-fjiohb2ye4] {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Empty States */
.empty-gallery[b-fjiohb2ye4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
}

@media (max-width: 576px) {
    .imagen-grid[b-fjiohb2ye4] {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .imagen-info[b-fjiohb2ye4] {
        padding: 8px 12px;
    }
}
/* /Pages/Organizacion/Componentes.razor.rz.scp.css */
/* Componentes Module — Premium Design System */

.background-container[b-l8xxdb92ow] {
    padding: 1rem 1rem 0;
    position: relative;
    background: #f8fafc;
    min-height: 100vh;
}

/* Image Selection Designs */
.selector-container[b-l8xxdb92ow] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.selector-search-bar[b-l8xxdb92ow] {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

.imagen-grid[b-l8xxdb92ow] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    max-height: 50vh;
    overflow-y: auto;
    padding: 5px;
}

.imagen-card[b-l8xxdb92ow] {
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.imagen-card:hover[b-l8xxdb92ow] {
    transform: translateY(-3px);
    border-color: var(--verdesagem, #28a745);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.imagen-wrapper[b-l8xxdb92ow] {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f5f9;
}

.imagen-wrapper img[b-l8xxdb92ow] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.imagen-card:hover .imagen-wrapper img[b-l8xxdb92ow] {
    transform: scale(1.08);
}

.imagen-name[b-l8xxdb92ow] {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Form Styles */
.image-thumb[b-l8xxdb92ow] {
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.image-thumb img[b-l8xxdb92ow] {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.equipo-img-hover[b-l8xxdb92ow] {
    position: relative;
    cursor: pointer;
}

.equipo-img-hover:hover[b-l8xxdb92ow] {
    border-color: var(--verdesagem, #2e7d32);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
}

.equipo-img-hover[b-l8xxdb92ow]::after {
    content: '📷 Cambiar';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.equipo-img-hover:hover[b-l8xxdb92ow]::after {
    opacity: 1;
}

/* Spinner Styles */
.modern-overlay-spinner[b-l8xxdb92ow] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 10000;
}

.spinner-content[b-l8xxdb92ow] {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Form Sections */
.form-section-header[b-l8xxdb92ow] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--verdesagem, #2e7d32) 0%, #4cc05c 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

/* Main Grid Customization */
:deep(.comp-grid-main)[b-l8xxdb92ow] {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

:deep(.comp-grid-main .e-headercell)[b-l8xxdb92ow] {
    background-color: #f8fafc !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

:deep(.comp-grid-main .e-row:hover .e-rowcell)[b-l8xxdb92ow] {
    background-color: rgba(46, 125, 50, 0.05) !important;
    cursor: pointer;
}

/* Barcode and QR specific */
.barcode-thumb[b-l8xxdb92ow], .qrcode-thumb[b-l8xxdb92ow] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    transition: all 0.2s ease;
}

.barcode-thumb:hover[b-l8xxdb92ow], .qrcode-thumb:hover[b-l8xxdb92ow] {
    border-color: var(--verdesagem);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
/* /Pages/Organizacion/Equipos.razor.rz.scp.css */
/* ──────────────────────────────────────────────────────────────────── */
/* SfSchedule Calendar Premium Look - Glassmorphism & Modern Palette   */
/* ──────────────────────────────────────────────────────────────────── */

[b-vpjfrgxc50] .calendar-event-card {
    padding: 0;
    min-height: 24px;
    height: auto;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px; /* Redondear más las esquinas para un look más moderno */
    border: 1px solid rgba(46, 125, 50, 0.2); /* Borde sutil */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.9); /* Glassmorphism base */
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

[b-vpjfrgxc50] .event-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    background-color: #f1f8e9; /* Fondo muy claro para el header */
    color: #2e7d32;           /* Texto verde corporativo sagem */
    padding: 4px 8px;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

[b-vpjfrgxc50] .event-tag {
    font-size: 0.62rem;
    padding: 1px 6px;
    border-radius: 12px; /* Estilo de píldora */
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

[b-vpjfrgxc50] .op-tag { background-color: #43a047; } /* Verde sólido para OP */
[b-vpjfrgxc50] .ot-tag { background-color: #1e88e5; } /* Azul sólido para OT */

[b-vpjfrgxc50] .event-subject {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-vpjfrgxc50] .event-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 8px;
    background-color: rgba(255, 255, 255, 0.7);
    color: #388e3c;
}

[b-vpjfrgxc50] .metric-item {
    font-size: 0.72rem;
    background: rgba(46, 125, 50, 0.08); /* Fondo muy sutil */
    padding: 1px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

[b-vpjfrgxc50] .metric-icon {
    font-style: normal;
    font-size: 0.8rem;
}

[b-vpjfrgxc50] .event-details {
    font-size: 0.72rem;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    padding: 4px 8px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #555;
}

[b-vpjfrgxc50] .event-ot-origen {
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Tooltip Styling - White/Premium Glassmorphism */
[b-vpjfrgxc50] .calendar-tooltip {
    padding: 14px;
    background-color: white !important;
    color: #333 !important;
    border-radius: 11px;
    max-width: 300px;
}

[b-vpjfrgxc50] .tooltip-header {
    font-weight: 800;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 8px;
    margin-bottom: 12px;
    color: #2e7d32 !important;
    font-size: 1rem;
}

[b-vpjfrgxc50] .tooltip-content,
[b-vpjfrgxc50] .tooltip-content p,
[b-vpjfrgxc50] .tooltip-content li,
[b-vpjfrgxc50] .tooltip-content strong {
    margin: 4px 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #2c3e50 !important; /* Color oscuro profesional */
}

[b-vpjfrgxc50] .tooltip-list {
    padding-left: 20px;
    margin: 8px 0;
}

[b-vpjfrgxc50] .tooltip-section {
    margin-bottom: 12px;
    background-color: #f1f8e9 !important; /* Fondo verde menta para destacar datos */
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

[b-vpjfrgxc50] .tooltip-description-box {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa; /* Gris muy claro para la descripción */
    border-left: 3px solid #2e7d32;
    border-radius: 4px;
}

[b-vpjfrgxc50] .tooltip-description-box p {
    font-style: italic;
    margin-top: 4px;
}

/* ──────────────────────────────────────────────────────────────────── */
/* Neutralizar estilos que Syncfusion inyecta en .e-appointment.         */
/* ──────────────────────────────────────────────────────────────────── */
[b-vpjfrgxc50] .e-schedule .e-appointment,
[b-vpjfrgxc50] .e-schedule .e-month-view .e-appointment,
[b-vpjfrgxc50] .e-schedule .e-week-view .e-appointment,
[b-vpjfrgxc50] .e-schedule .e-day-view .e-appointment,
[b-vpjfrgxc50] .e-schedule .e-appointment.e-appointment-border,
[b-vpjfrgxc50] .e-schedule .e-appointment:focus,
[b-vpjfrgxc50] .e-schedule .e-appointment:active,
[b-vpjfrgxc50] .e-schedule .e-appointment.e-appointment-selected {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 1px -2px !important; /* Ensanchar un poco lateralmente */
}

[b-vpjfrgxc50] .e-schedule .e-appointment .e-appointment-details,
[b-vpjfrgxc50] .e-schedule .e-month-view .e-appointment .e-appointment-details,
[b-vpjfrgxc50] .e-schedule .e-week-view .e-appointment .e-appointment-details {
    padding: 0 !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* Ocultar el indicador de color de recursos que Syncfusion añade */
[b-vpjfrgxc50] .e-schedule .e-appointment .e-resource-stripe,
[b-vpjfrgxc50] .e-schedule .e-appointment .e-indicator,
[b-vpjfrgxc50] .e-schedule .e-appointment .e-appointment-indicator {
    display: none !important;
}

[b-vpjfrgxc50] .e-schedule .e-appointment:hover {
    box-shadow: 0 2px 8px rgba(27, 94, 32, 0.4) !important;
    transform: scale(1.01);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    z-index: 1;
}

/* More popup — misma neutralización */
[b-vpjfrgxc50] .e-more-popup-wrapper .e-appointment,
[b-vpjfrgxc50] .e-more-popup-wrapper .e-month-view .e-appointment {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
}

[b-vpjfrgxc50] .e-more-popup-wrapper .e-appointment .e-appointment-details {
    padding: 0 !important;
    height: 100% !important;
    background: transparent !important;
}

/* ===================================================
   GRID PRINCIPAL DE EQUIPOS — Mejoras visuales
   =================================================== */

/* Filas alternas */
[b-vpjfrgxc50] .equipo-grid-main .e-row:nth-child(even) .e-rowcell {
    background-color: #f7f9fc;
}

/* Hover suave en filas */
[b-vpjfrgxc50] .equipo-grid-main .e-row:hover .e-rowcell {
    background-color: rgba(46, 125, 50, 0.07) !important;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

/* Fila seleccionada con acento verde */
[b-vpjfrgxc50] .equipo-grid-main .e-row.e-active .e-rowcell {
    background-color: rgba(46, 125, 50, 0.13) !important;
    border-left: 3px solid var(--verdesagem, #2e7d32);
}

/* Celda de imagen — centrado */
[b-vpjfrgxc50] .equipo-img-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
}

/* Columna descripción — nombre + subtítulo */
[b-vpjfrgxc50] .equipo-desc-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

[b-vpjfrgxc50] .equipo-desc-name {
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.3;
}

[b-vpjfrgxc50] .equipo-desc-sub {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.2;
}

/* Badge de status */
[b-vpjfrgxc50] .equipo-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* ===================================================
   EDITFORM — Encabezados de sección
   =================================================== */
[b-vpjfrgxc50] .form-section-header {
    background: linear-gradient(90deg, var(--verdesagem, #2e7d32) 0%, rgba(46,125,50,0.08) 100%);
    color: #fff;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: .35rem .85rem;
    border-radius: .3rem;
    margin-top: .5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 1px 4px rgba(46,125,50,0.18);
}

/* ===================================================
   EDITFORM — Imágenes con hover "Cambiar"
   =================================================== */
[b-vpjfrgxc50] .image-thumb.equipo-img-hover {
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

[b-vpjfrgxc50] .image-thumb.equipo-img-hover:hover {
    border-color: var(--verdesagem, #2e7d32);
}

[b-vpjfrgxc50] .image-thumb.equipo-img-hover::after {
    content: "📷 Cambiar";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 9px;
}

[b-vpjfrgxc50] .image-thumb.equipo-img-hover:hover::after {
    opacity: 1;
}

/* Variation field styling: framed like form controls to keep harmony */
[b-vpjfrgxc50] .label-box {
    padding: .375rem .75rem;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    background: #fff;
    min-height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

[b-vpjfrgxc50] .label-box .variation-label {
    margin: 0 0 .25rem 0;
    font-size: .85rem;
    color: #495057;
}

[b-vpjfrgxc50] .label-box .variation-value {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #212529;
}

/* Column header for "Fechas Relevantes" groups */
[b-vpjfrgxc50] .fecha-col-header {
    background-color: var(--verdesagem, #009600);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    padding: .3rem .6rem;
    border-radius: .25rem;
    margin-bottom: .5rem;
}

[b-vpjfrgxc50] .fecha-col-picker {
    width: 100%;
}

/* Opcional: permitir scroll interno en grids si el contenido crece */
[b-vpjfrgxc50] .sf-tab-container .e-tab .e-content {
    overflow: auto;
}

/* ──────────────────────────────────────────────────────────────────── */
/* Imagen Grid Selector - Premium Modern UI                             */
/* ──────────────────────────────────────────────────────────────────── */
[b-vpjfrgxc50] .selector-container {
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

[b-vpjfrgxc50] .imagen-grid-wrapper {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom Scrollbar for the grid */
[b-vpjfrgxc50] .imagen-grid-wrapper::-webkit-scrollbar {
    width: 6px;
}
[b-vpjfrgxc50] .imagen-grid-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
[b-vpjfrgxc50] .imagen-grid-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
[b-vpjfrgxc50] .imagen-grid-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--verdesagem, #28a745);
}

[b-vpjfrgxc50] .imagen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    padding: 10px 0;
}

[b-vpjfrgxc50] .imagen-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

[b-vpjfrgxc50] .imagen-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--verdesagem, #28a745);
}

[b-vpjfrgxc50] .imagen-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f7fafc;
}

[b-vpjfrgxc50] .imagen-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

[b-vpjfrgxc50] .imagen-card:hover .imagen-wrapper img {
    transform: scale(1.1);
}

[b-vpjfrgxc50] .imagen-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 167, 69, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[b-vpjfrgxc50] .imagen-overlay i {
    color: #fff;
    font-size: 2.5rem;
}

[b-vpjfrgxc50] .imagen-card:hover .imagen-overlay {
    opacity: 1;
}

[b-vpjfrgxc50] .imagen-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #fff;
}

[b-vpjfrgxc50] .imagen-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-vpjfrgxc50] .imagen-date {
    font-size: 0.65rem;
    color: #a0aec0;
}

[b-vpjfrgxc50] .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

/* Modern overlay spinner with improved UX */
[b-vpjfrgxc50] .modern-overlay-spinner {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    animation: fadeIn-b-vpjfrgxc50 0.3s ease-in-out;
}

[b-vpjfrgxc50] .spinner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp-b-vpjfrgxc50 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[b-vpjfrgxc50] .spinner-circle {
    position: relative;
    width: 80px;
    height: 80px;
}

[b-vpjfrgxc50] .spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--verdesagem, #28a745);
    border-radius: 50%;
    animation: spinRotate-b-vpjfrgxc50 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

[b-vpjfrgxc50] .spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
    border-top-color: var(--verdesagem, #28a745);
}

[b-vpjfrgxc50] .spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
    border-top-color: rgba(40, 167, 69, 0.6);
}

[b-vpjfrgxc50] .spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
    border-top-color: rgba(40, 167, 69, 0.3);
}

[b-vpjfrgxc50] .spinner-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #212529;
}

[b-vpjfrgxc50] .spinner-text strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--verdesagem, #28a745);
}

[b-vpjfrgxc50] .spinner-subtext {
    font-size: 0.875rem;
    color: #6c757d;
    animation: pulse-b-vpjfrgxc50 2s ease-in-out infinite;
}

@keyframes fadeIn-b-vpjfrgxc50 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-vpjfrgxc50 {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes spinRotate-b-vpjfrgxc50 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-b-vpjfrgxc50 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Thumbnail container used in the Equipos edit form */
[b-vpjfrgxc50] .image-thumb {
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

[b-vpjfrgxc50] .image-thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Specific styling for QR code container */
[b-vpjfrgxc50] .qrcode-thumb {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 10px;
    padding: 6px;
    background: #fff;
}

/* Styling for barcode container */
[b-vpjfrgxc50] .barcode-thumb {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 10px;
    padding: 6px;
    background: #fff;
    width: 100%;
    height: 100%;
}

/* TABS de Equipos */
[b-vpjfrgxc50] .e-tab-item .tab-header-equipos {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    line-height: 1.1;
    letter-spacing: 0.2px;
}

[b-vpjfrgxc50] .e-tab-item.e-active .tab-header-equipos {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
}

/* Grid fecha styling */
[b-vpjfrgxc50] .fecha-grid-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 0;
}

[b-vpjfrgxc50] .fecha-date {
    font-weight: 600;
    font-size: 0.95rem;
    color: #212529;
}

[b-vpjfrgxc50] .fecha-time {
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
}

[b-vpjfrgxc50] .fecha-dia {
    font-size: 0.75rem;
    color: #6c757d;
    font-style: italic;
    text-transform: capitalize;
}

/* SfTab Header Typography Enhancement */
[b-vpjfrgxc50] .e-tab-item {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
}

[b-vpjfrgxc50] .e-tab-item.e-active {
    font-weight: 900 !important;
    font-size: 1.15rem !important;
}

[b-vpjfrgxc50] .e-tab-text {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
}

[b-vpjfrgxc50] .e-tab-header {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
}

/* Equal height row helpers */
[b-vpjfrgxc50] .equal-row .equal-col {
    display: flex;
    flex-direction: column;
}

[b-vpjfrgxc50] .stretch-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 120px;
}

/* Margen extra por si el tab ocupa demasiado espacio */
[b-vpjfrgxc50] .sf-tab-container {
    margin-bottom: 1rem;
}

[b-vpjfrgxc50] .sf-tab-container .e-tab {
    position: relative;
    z-index: 1;
}

[b-vpjfrgxc50] .sf-tab-container .e-tab .e-content {
    overflow: auto;
}
/* /Pages/Organizacion/Partes.razor.rz.scp.css */
/* Partes Module — Premium Design System */

.background-container[b-88v7ysm5uw] {
    padding: 1rem 1rem 0;
    position: relative;
    background: #f8fafc;
    min-height: 100vh;
}

/* Image Selection Designs */
.selector-container[b-88v7ysm5uw] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.selector-search-bar[b-88v7ysm5uw] {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

.imagen-grid[b-88v7ysm5uw] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    max-height: 50vh;
    overflow-y: auto;
    padding: 5px;
}

.imagen-card[b-88v7ysm5uw] {
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.imagen-card:hover[b-88v7ysm5uw] {
    transform: translateY(-3px);
    border-color: var(--verdesagem, #28a745);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.imagen-wrapper[b-88v7ysm5uw] {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f5f9;
}

.imagen-wrapper img[b-88v7ysm5uw] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.imagen-card:hover .imagen-wrapper img[b-88v7ysm5uw] {
    transform: scale(1.08);
}

.imagen-name[b-88v7ysm5uw] {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Form Styles */
.image-thumb[b-88v7ysm5uw] {
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.image-thumb img[b-88v7ysm5uw] {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.equipo-img-hover[b-88v7ysm5uw] {
    position: relative;
    cursor: pointer;
}

.equipo-img-hover:hover[b-88v7ysm5uw] {
    border-color: var(--verdesagem, #2e7d32);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
}

.equipo-img-hover[b-88v7ysm5uw]::after {
    content: '📷 Cambiar';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.equipo-img-hover:hover[b-88v7ysm5uw]::after {
    opacity: 1;
}

/* Spinner Styles */
.modern-overlay-spinner[b-88v7ysm5uw] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 10000;
}

.spinner-content[b-88v7ysm5uw] {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Form Sections */
.form-section-header[b-88v7ysm5uw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--verdesagem, #2e7d32) 0%, #4cc05c 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

/* Main Grid Customization */
:deep(.parte-grid-main)[b-88v7ysm5uw] {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

:deep(.parte-grid-main .e-headercell)[b-88v7ysm5uw] {
    background-color: #f8fafc !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

:deep(.parte-grid-main .e-row:hover .e-rowcell)[b-88v7ysm5uw] {
    background-color: rgba(46, 125, 50, 0.05) !important;
    cursor: pointer;
}
/* /Shared/MainLayout.razor.rz.scp.css */
main[b-c31ffbuaru] {
    flex: 1;
}

.sidebar[b-c31ffbuaru] {
    width: fit-content;
    background-color: var(--Blanco);
}

.top-row[b-c31ffbuaru] {
    background-color: #ffffff;
    justify-content: space-between;
    height: fit-content;
    display: flex;
    align-items: center;
    width: 100%;
    padding: .5rem 1.5rem;
}

    .top-row[b-c31ffbuaru]  a, .top-row .btn-link[b-c31ffbuaru] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-c31ffbuaru] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-c31ffbuaru] {
        display: none;
    }

    .top-row.auth[b-c31ffbuaru] {
        justify-content: space-between;
    }

    .top-row a[b-c31ffbuaru], .top-row .btn-link[b-c31ffbuaru] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-c31ffbuaru] {
        flex-direction: row;
    }

    .sidebar[b-c31ffbuaru] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-c31ffbuaru] {
        position: sticky;
        top: 0;
        z-index: 1;
    }
}


/* CSS del proyecto bonito **************************/

.mainlayout[b-c31ffbuaru] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header[b-c31ffbuaru] {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: rgba(255,255,255,1);
    align-items: center;
}

/***   CONTENEDOR DE OPCIONES DE USUARIO   ***/
.user-container[b-c31ffbuaru] {
    position: relative;
    display: inline-block;
    width: fit-content;
    right: 0; /* Alinea el contenedor a la derecha de la pantalla */
}

.dropdown[b-c31ffbuaru], .loginbtn[b-c31ffbuaru] {
    margin-right: 2rem;
    width: 8rem; /* Mantén el mismo ancho para ambos */
}

.dropbtn[b-c31ffbuaru], .loginbtn[b-c31ffbuaru] {
    background-color: rgba(2,181,38,.8);
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    width: 8rem; /* Fija el ancho para que ambos botones sean iguales */
    text-align: center; /* Asegura que el texto esté centrado */
}

    .loginbtn:hover[b-c31ffbuaru], .dropbtn:hover[b-c31ffbuaru] {
        background-color: rgba(2,181,38,1));
        font-weight: 700;
    }

.dropdown-content[b-c31ffbuaru] {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

    .dropdown-content a[b-c31ffbuaru] {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover[b-c31ffbuaru] {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-content[b-c31ffbuaru] {
    display: block;
}

/***   FIN DE OPCIONES DE USUARIO   ***/

.logo-sagem[b-c31ffbuaru] {
    width: calc(8rem + 4vw);
    height: auto;
    transition: transform 0.3s ease;
}

.logo-pc[b-c31ffbuaru]{
    display: none;
}

.logo-movil[b-c31ffbuaru]{
    display: block;
}

    .logo-sagem:hover[b-c31ffbuaru] {
        transform: scale(1.05);
    }

.bodydisplay[b-c31ffbuaru] {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-grow: 1;
}

/* Sidebar styling (can be customized) */
.sidebar[b-c31ffbuaru] {
    width: fit-content;
    background-color: rgba(255,255,255,1);
}

/* Pages content area styling */

.pages[b-c31ffbuaru] {
    flex-grow: 1;
    width: 100%;
    border: 1px solid rgba(0,100,0,1);
    border-right: none;
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
    background-color: rgba(255,255,255,1);
    overflow: hidden;
}

.footer[b-c31ffbuaru] {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: .3rem;
    margin-top: auto;
    background-color: rgba(255,255,255,1);
}

    .footer p[b-c31ffbuaru] {
        font-size: calc(.5rem + .2vw);
        width: fit-content;
        text-align: center;
        margin: 0;
    }

@media (min-width: 900px) {
    .logo-pc[b-c31ffbuaru] {
        display: block;
    }

    .logo-movil[b-c31ffbuaru] {
        display: none;
    }

}

/* Header logos container and global logo class
   Use :global(.logo) so other components can apply the same class */
.header-logos[b-c31ffbuaru] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-icon[b-c31ffbuaru] {
    background: none;
    border: none;
    padding-left: 0.5rem;
    cursor: pointer;
}

.logo-link[b-c31ffbuaru] {
    display: inline-block;
}

/* Scope logo sizing to header only to avoid affecting images in other components */
.header-logos .logo[b-c31ffbuaru] {
    /* Match the smaller user icons (sgmusr) used in the header */
    height: 1.6rem;
    width: auto;
    object-fit: contain;
    display: block;
}

.header-logos .logo.brand[b-c31ffbuaru] {
    height: 3rem; /* larger brand logo in header */
}

/* small helper for circular icons used in login/registration */
:global(.logo-circle)[b-c31ffbuaru] {
    border-radius: 50%;
}

/* Global class for user icons (consistent size and circular) */
:global(.logo-user)[b-c31ffbuaru] {
    height: 1.6rem;
    width: auto;
    object-fit: contain;
    display: inline-block;
    border-radius: 50%;
}

/* Stronger rule to override other styles when images are too large */
:global(img.logo-user)[b-c31ffbuaru] {
    height: 1.6rem !important;
    width: auto !important;
    max-height: 1.6rem !important;
}

@media (max-width: 768px) {
    .header-logos[b-c31ffbuaru] {
        gap: 0.5rem;
    }
    .header-logos .logo[b-c31ffbuaru] {
        height: 1.6rem;
    }
    .header-logos .logo.brand[b-c31ffbuaru] {
        height: 2.4rem;
    }
}

/* Ensure brand images inside navbar keep the intended brand size
   (these live outside .header-logos so need a specific selector) */
.navbar-brand .logo.brand[b-c31ffbuaru] {
    height: 3rem;
    width: auto;
}
/* /Shared/NavMenuControl.razor.rz.scp.css */
/* Module nav menu styles matching the original NavMenu component.
   Keep selectors scoped to the component to avoid global side effects. */

.navbar-toggler[b-phadlwti2m] {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item[b-phadlwti2m] {
    font-size: 0.9rem;
}

.nav-item:last-of-type[b-phadlwti2m] {
    padding-bottom: 1rem;
}

.nav-item[b-phadlwti2m]  a {
    color: black;
    border-radius: 4px;
    border: 1px solid rgba(0,100,0,1);
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    margin: .3rem;
    padding: .2rem .5rem;
    text-decoration: none;
}

.nav-item[b-phadlwti2m]  a.active {
    background-color: rgba(2,181,38,.8);
    color: white;
}

.nav-item[b-phadlwti2m]  a:hover {
    background-color: rgba(2,181,38,.8);
    color: white;
}

.icono-sagem[b-phadlwti2m] {
    width: 2rem;
    height: auto;
    padding: .2rem;
}

.submenu[b-phadlwti2m] {
    display: none;
    padding-left: 1rem;
    margin-top: .2rem;
}

.nav-link-submenu a[b-phadlwti2m] {
    padding-left: 2rem;
    color: white;
}

.nav-link p[b-phadlwti2m] { display: none; }

@media (min-width: 641px) {
    .collapse[b-phadlwti2m] { display: block; }
    .nav-scrollable[b-phadlwti2m] { overflow-y: auto; }
}

@media (min-width: 900px) {
    .nav-link p[b-phadlwti2m] { display: block; }
    .nav-item[b-phadlwti2m]  a { padding: .5rem 1rem; }
}

/* Tweak top "Volver a Módulos" link sizing to match original NavMenu */
.nav-item.mb-2[b-phadlwti2m]  a {
    height: 2.4rem;
    padding: .25rem .6rem;
    margin: .2rem .3rem;
    align-items: center;
}

.nav-item.mb-2[b-phadlwti2m]  a .logo-nav,
.nav-item.mb-2[b-phadlwti2m]  img.logo-nav {
    height: 1.4rem;
    width: auto;
}

/* Ensure inner paragraph and icon align properly inside the flex anchor */
.nav-item[b-phadlwti2m]  a p {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.nav-item[b-phadlwti2m]  a .icono-sagem,
.nav-item[b-phadlwti2m]  a img.icono-sagem {
    margin-right: .6rem;
    display: inline-block;
}

/* User Profile Card */
:root[b-phadlwti2m] {
    --verdesagem: #009600;
    --verdesagem-light: rgba(0, 150, 0, 0.1);
}

.user-profile-wrapper[b-phadlwti2m] {
    padding: 0 1rem 1rem 1rem;
}

.user-profile-card[b-phadlwti2m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--verdesagem-light) !important;
    transition: all 0.3s ease;
}

.user-profile-card:hover[b-phadlwti2m] {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 150, 0, 0.3) !important;
}

.avatar-container[b-phadlwti2m] {
    margin-bottom: 0.5rem;
}

.user-avatar[b-phadlwti2m] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-info[b-phadlwti2m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.user-name[b-phadlwti2m] {
    color: var(--verdesagem);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.client-name[b-phadlwti2m] {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Responsive Handling */
@media (min-width: 900px) {
    .user-profile-card[b-phadlwti2m] {
        flex-direction: row;
        padding: 0.75rem;
        text-align: left;
    }

    .avatar-container[b-phadlwti2m] {
        margin-bottom: 0;
        margin-right: 0.75rem;
    }

    .user-avatar[b-phadlwti2m] {
        width: 48px;
        height: 48px;
    }

    .user-info[b-phadlwti2m] {
        align-items: flex-start;
        text-align: left;
    }
}
/* /Shared/NavMenuEstrategico.razor.rz.scp.css */
/* Module nav menu styles matching the original NavMenu component.
   Keep selectors scoped to the component to avoid global side effects. */

.navbar-toggler[b-bxytrfh1v7] {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item[b-bxytrfh1v7] {
    font-size: 0.9rem;
}

.nav-item:last-of-type[b-bxytrfh1v7] {
    padding-bottom: 1rem;
}

.nav-item[b-bxytrfh1v7]  a {
    color: black;
    border-radius: 4px;
    border: 1px solid rgba(0,100,0,1);
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    margin: .3rem;
    padding: .2rem .5rem;
    text-decoration: none;
}

.nav-item[b-bxytrfh1v7]  a.active {
    background-color: rgba(2,181,38,.8);
    color: white;
}

.nav-item[b-bxytrfh1v7]  a:hover {
    background-color: rgba(2,181,38,.8);
    color: white;
}

.icono-sagem[b-bxytrfh1v7] {
    width: 2rem;
    height: auto;
    padding: .2rem;
}

.submenu[b-bxytrfh1v7] {
    display: none;
    padding-left: 1rem;
    margin-top: .2rem;
}

.nav-link-submenu a[b-bxytrfh1v7] {
    padding-left: 2rem;
    color: white;
}

.nav-link p[b-bxytrfh1v7] { display: none; }

@media (min-width: 641px) {
    .collapse[b-bxytrfh1v7] { display: block; }
    .nav-scrollable[b-bxytrfh1v7] { overflow-y: auto; }
}

@media (min-width: 900px) {
    .nav-link p[b-bxytrfh1v7] { display: block; }
    .nav-item[b-bxytrfh1v7]  a { padding: .5rem 1rem; }
}

/* Tweak top "Volver a Módulos" link sizing to match original NavMenu */
.nav-item.mb-2[b-bxytrfh1v7]  a {
    height: 2.4rem;
    padding: .25rem .6rem;
    margin: .2rem .3rem;
    align-items: center;
}

.nav-item.mb-2[b-bxytrfh1v7]  a .logo-nav,
.nav-item.mb-2[b-bxytrfh1v7]  img.logo-nav {
    height: 1.4rem;
    width: auto;
}

/* Ensure inner paragraph and icon align properly inside the flex anchor */
.nav-item[b-bxytrfh1v7]  a p {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.nav-item[b-bxytrfh1v7]  a .icono-sagem,
.nav-item[b-bxytrfh1v7]  a img.icono-sagem {
    margin-right: .6rem;
    display: inline-block;
}

/* User Profile Card */
:root[b-bxytrfh1v7] {
    --verdesagem: #009600;
    --verdesagem-light: rgba(0, 150, 0, 0.1);
}

.user-profile-wrapper[b-bxytrfh1v7] {
    padding: 0 1rem 1rem 1rem;
}

.user-profile-card[b-bxytrfh1v7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--verdesagem-light) !important;
    transition: all 0.3s ease;
}

.user-profile-card:hover[b-bxytrfh1v7] {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 150, 0, 0.3) !important;
}

.avatar-container[b-bxytrfh1v7] {
    margin-bottom: 0.5rem;
}

.user-avatar[b-bxytrfh1v7] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-info[b-bxytrfh1v7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.user-name[b-bxytrfh1v7] {
    color: var(--verdesagem);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.client-name[b-bxytrfh1v7] {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Responsive Handling */
@media (min-width: 900px) {
    .user-profile-card[b-bxytrfh1v7] {
        flex-direction: row;
        padding: 0.75rem;
        text-align: left;
    }

    .avatar-container[b-bxytrfh1v7] {
        margin-bottom: 0;
        margin-right: 0.75rem;
    }

    .user-avatar[b-bxytrfh1v7] {
        width: 48px;
        height: 48px;
    }

    .user-info[b-bxytrfh1v7] {
        align-items: flex-start;
        text-align: left;
    }
}

/* /Shared/NavMenuExcelencia.razor.rz.scp.css */
/* Module nav menu styles matching the original NavMenu component.
   Keep selectors scoped to the component to avoid global side effects. */

.navbar-toggler[b-bmt34fiic4] {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item[b-bmt34fiic4] {
    font-size: 0.9rem;
}

.nav-item:last-of-type[b-bmt34fiic4] {
    padding-bottom: 1rem;
}

.nav-item[b-bmt34fiic4]  a {
    color: black;
    border-radius: 4px;
    border: 1px solid rgba(0,100,0,1);
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    margin: .3rem;
    padding: .2rem .5rem;
    text-decoration: none;
}

.nav-item[b-bmt34fiic4]  a.active {
    background-color: rgba(2,181,38,.8);
    color: white;
}

.nav-item[b-bmt34fiic4]  a:hover {
    background-color: rgba(2,181,38,.8);
    color: white;
}

.icono-sagem[b-bmt34fiic4] {
    width: 2rem;
    height: auto;
    padding: .2rem;
}

.submenu[b-bmt34fiic4] {
    display: none;
    padding-left: 1rem;
    margin-top: .2rem;
}

.nav-link-submenu a[b-bmt34fiic4] {
    padding-left: 2rem;
    color: white;
}

.nav-link p[b-bmt34fiic4] { display: none; }

@media (min-width: 641px) {
    .collapse[b-bmt34fiic4] { display: block; }
    .nav-scrollable[b-bmt34fiic4] { overflow-y: auto; }
}

@media (min-width: 900px) {
    .nav-link p[b-bmt34fiic4] { display: block; }
    .nav-item[b-bmt34fiic4]  a { padding: .5rem 1rem; }
}

/* Tweak top "Volver a Módulos" link sizing to match original NavMenu */
.nav-item.mb-2[b-bmt34fiic4]  a {
    height: 2.4rem;
    padding: .25rem .6rem;
    margin: .2rem .3rem;
    align-items: center;
}

.nav-item.mb-2[b-bmt34fiic4]  a .logo-nav,
.nav-item.mb-2[b-bmt34fiic4]  img.logo-nav {
    height: 1.4rem;
    width: auto;
}

/* Ensure inner paragraph and icon align properly inside the flex anchor */
.nav-item[b-bmt34fiic4]  a p {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.nav-item[b-bmt34fiic4]  a .icono-sagem,
.nav-item[b-bmt34fiic4]  a img.icono-sagem {
    margin-right: .6rem;
    display: inline-block;
}

/* User Profile Card */
:root[b-bmt34fiic4] {
    --verdesagem: #009600;
    --verdesagem-light: rgba(0, 150, 0, 0.1);
}

.user-profile-wrapper[b-bmt34fiic4] {
    padding: 0 1rem 1rem 1rem;
}

.user-profile-card[b-bmt34fiic4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--verdesagem-light) !important;
    transition: all 0.3s ease;
}

.user-profile-card:hover[b-bmt34fiic4] {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 150, 0, 0.3) !important;
}

.avatar-container[b-bmt34fiic4] {
    margin-bottom: 0.5rem;
}

.user-avatar[b-bmt34fiic4] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-info[b-bmt34fiic4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.user-name[b-bmt34fiic4] {
    color: var(--verdesagem);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.client-name[b-bmt34fiic4] {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Responsive Handling */
@media (min-width: 900px) {
    .user-profile-card[b-bmt34fiic4] {
        flex-direction: row;
        padding: 0.75rem;
        text-align: left;
    }

    .avatar-container[b-bmt34fiic4] {
        margin-bottom: 0;
        margin-right: 0.75rem;
    }

    .user-avatar[b-bmt34fiic4] {
        width: 48px;
        height: 48px;
    }

    .user-info[b-bmt34fiic4] {
        align-items: flex-start;
        text-align: left;
    }
}


/* /Shared/NavMenuLogistico.razor.rz.scp.css */
/* Module nav menu styles matching the original NavMenu component.
   Keep selectors scoped to the component to avoid global side effects. */

.navbar-toggler[b-uprn6r233h] {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item[b-uprn6r233h] {
    font-size: 0.9rem;
}

.nav-item:last-of-type[b-uprn6r233h] {
    padding-bottom: 1rem;
}

.nav-item[b-uprn6r233h]  a {
    color: black;
    border-radius: 4px;
    border: 1px solid rgba(0,100,0,1);
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    margin: .3rem;
    padding: .2rem .5rem;
    text-decoration: none;
}

.nav-item[b-uprn6r233h]  a.active {
    background-color: rgba(2,181,38,.8);
    color: white;
}

.nav-item[b-uprn6r233h]  a:hover {
    background-color: rgba(2,181,38,.8);
    color: white;
}

.icono-sagem[b-uprn6r233h] {
    width: 2rem;
    height: auto;
    padding: .2rem;
}

.submenu[b-uprn6r233h] {
    display: false;
    padding-left: 1rem;
    margin-top: .2rem;
}

.nav-link-submenu a[b-uprn6r233h] {
    padding-left: 2rem;
    color: white;
}

.nav-link p[b-uprn6r233h] { display: none; }

@media (min-width: 641px) {
    .collapse[b-uprn6r233h] { display: block; }
    .nav-scrollable[b-uprn6r233h] { overflow-y: auto; }
}

@media (min-width: 900px) {
    .nav-link p[b-uprn6r233h] { display: block; }
    .nav-item[b-uprn6r233h]  a { padding: .5rem 1rem; }
}

/* Tweak top "Volver a Módulos" link sizing to match original NavMenu */
.nav-item.mb-2[b-uprn6r233h]  a {
    height: 2.4rem;
    padding: .25rem .6rem;
    margin: .2rem .3rem;
    align-items: center;
}

.nav-item.mb-2[b-uprn6r233h]  a .logo-nav,
.nav-item.mb-2[b-uprn6r233h]  img.logo-nav {
    height: 1.4rem;
    width: auto;
}

/* Ensure inner paragraph and icon align properly inside the flex anchor */
.nav-item[b-uprn6r233h]  a p {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.nav-item[b-uprn6r233h]  a .icono-sagem,
.nav-item[b-uprn6r233h]  a img.icono-sagem {
    margin-right: .6rem;
    display: inline-block;
}

/* User Profile Card */
:root[b-uprn6r233h] {
    --verdesagem: #009600;
    --verdesagem-light: rgba(0, 150, 0, 0.1);
}

.user-profile-wrapper[b-uprn6r233h] {
    padding: 0 1rem 1rem 1rem;
}

.user-profile-card[b-uprn6r233h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--verdesagem-light) !important;
    transition: all 0.3s ease;
}

.user-profile-card:hover[b-uprn6r233h] {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 150, 0, 0.3) !important;
}

.avatar-container[b-uprn6r233h] {
    margin-bottom: 0.5rem;
}

.user-avatar[b-uprn6r233h] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-info[b-uprn6r233h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.user-name[b-uprn6r233h] {
    color: var(--verdesagem);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.client-name[b-uprn6r233h] {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Responsive Handling */
@media (min-width: 900px) {
    .user-profile-card[b-uprn6r233h] {
        flex-direction: row;
        padding: 0.75rem;
        text-align: left;
    }

    .avatar-container[b-uprn6r233h] {
        margin-bottom: 0;
        margin-right: 0.75rem;
    }

    .user-avatar[b-uprn6r233h] {
        width: 48px;
        height: 48px;
    }

    .user-info[b-uprn6r233h] {
        align-items: flex-start;
        text-align: left;
    }
}

/* /Shared/NavMenuOperaciones.razor.rz.scp.css */
/* Module nav menu styles matching the original NavMenu component.
   Keep selectors scoped to the component to avoid global side effects. */

.navbar-toggler[b-0lp5i1kgvx] {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item[b-0lp5i1kgvx] {
    font-size: 0.9rem;
}

.nav-item:last-of-type[b-0lp5i1kgvx] {
    padding-bottom: 1rem;
}

.nav-item[b-0lp5i1kgvx]  a {
    color: black;
    border-radius: 4px;
    border: 1px solid rgba(0,100,0,1);
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    margin: .3rem;
    padding: .2rem .5rem;
    text-decoration: none;
}

/* Ensure inner paragraph and icon align properly inside the flex anchor */
.nav-item[b-0lp5i1kgvx]  a p {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.nav-item[b-0lp5i1kgvx]  a .icono-sagem,
.nav-item[b-0lp5i1kgvx]  a img.icono-sagem {
    margin-right: .6rem;
    display: inline-block;
}

/* User Profile Card */
:root[b-0lp5i1kgvx] {
    --verdesagem: #009600;
    --verdesagem-light: rgba(0, 150, 0, 0.1);
}

.user-profile-wrapper[b-0lp5i1kgvx] {
    padding: 0 1rem 1rem 1rem;
}

.user-profile-card[b-0lp5i1kgvx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--verdesagem-light) !important;
    transition: all 0.3s ease;
}

.user-profile-card:hover[b-0lp5i1kgvx] {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 150, 0, 0.3) !important;
}

.avatar-container[b-0lp5i1kgvx] {
    margin-bottom: 0.5rem;
}

.user-avatar[b-0lp5i1kgvx] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-info[b-0lp5i1kgvx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.user-name[b-0lp5i1kgvx] {
    color: var(--verdesagem);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.client-name[b-0lp5i1kgvx] {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Responsive Handling */
@media (min-width: 900px) {
    .user-profile-card[b-0lp5i1kgvx] {
        flex-direction: row;
        padding: 0.75rem;
        text-align: left;
    }

    .avatar-container[b-0lp5i1kgvx] {
        margin-bottom: 0;
        margin-right: 0.75rem;
    }

    .user-avatar[b-0lp5i1kgvx] {
        width: 48px;
        height: 48px;
    }

    .user-info[b-0lp5i1kgvx] {
        align-items: flex-start;
        text-align: left;
    }
}

.nav-item[b-0lp5i1kgvx]  a.active {
    background-color: rgba(2,181,38,.8);
    color: white;
}

.nav-item[b-0lp5i1kgvx]  a:hover {
    background-color: rgba(2,181,38,.8);
    color: white;
}

.icono-sagem[b-0lp5i1kgvx] {
    width: 2rem;
    height: auto;
    padding: .2rem;
}

.submenu[b-0lp5i1kgvx] {
    display: none;
    padding-left: 1rem;
    margin-top: .2rem;
}

.nav-link-submenu a[b-0lp5i1kgvx] {
    padding-left: 2rem;
    color: white;
}

.nav-link p[b-0lp5i1kgvx] { display: none; }

@media (min-width: 641px) {
    .collapse[b-0lp5i1kgvx] { display: block; }
    .nav-scrollable[b-0lp5i1kgvx] { overflow-y: auto; }
}

@media (min-width: 900px) {
    .nav-link p[b-0lp5i1kgvx] { display: block; }
    .nav-item[b-0lp5i1kgvx]  a { padding: .5rem 1rem; }
}

/* Tweak top "Volver a Módulos" link sizing to match original NavMenu */
.nav-item.mb-2[b-0lp5i1kgvx]  a {
    height: 2.4rem; /* slightly smaller to avoid oversized appearance */
    padding: .25rem .6rem;
    margin: .2rem .3rem;
    align-items: center;
}

.nav-item.mb-2[b-0lp5i1kgvx]  a .logo-nav,
.nav-item.mb-2[b-0lp5i1kgvx]  img.logo-nav {
    height: 1.4rem;
    width: auto;
}


/* /Shared/NavMenuOrganizacion.razor.rz.scp.css */
/*.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand {
    font-size: 1.1rem;
}

.oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.icono-sagem {
    width: 2rem;
    height: auto;
    padding: .2rem;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-item ::deep a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item ::deep a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item ::deep a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler {
        display: none;
    }

    .collapse {
        display: block;
    }
    
    .nav-scrollable {
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

:root {
    --blanco: rgba(255,255,255,1); 
    --verdesagem: rgba(0,150,0,1); 
    --verdemenu: rgba(2,181,38,.8);
    --verdemenuhover: rgba(2,181,38,1); 
    --verdeclaro: rgba(140,210,140,1); 
}

}*/



html[b-sui49bqz82], body[b-sui49bqz82] {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

* p[b-sui49bqz82] {
    margin: 0;
    padding: 0;
}

/* Apply box-sizing to all elements to include padding and borders in element width */
*[b-sui49bqz82] {
    box-sizing: border-box;
}


.navbar-toggler[b-sui49bqz82] {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item[b-sui49bqz82] {
    font-size: 0.9rem;
    /*padding-bottom: 0.5rem;*/
}

    .nav-item:last-of-type[b-sui49bqz82] {
        padding-bottom: 3rem;
    }

    .nav-item[b-sui49bqz82]  a {
        color: black;
        border-radius: 4px;
        border: 1px solid rgba(0,100,0,1);
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        margin: .3rem;
        padding: .2rem .5rem;
    }

        .nav-item[b-sui49bqz82]  a.active {
            background-color: rgba(2,181,38,.8); /* (2, 181, 38, .7); */
            color: white;
        }

        .nav-item[b-sui49bqz82]  a:hover {
            background-color: rgba(2,181,38,.8);
            color: white;
        }

.icono-sagem[b-sui49bqz82] {
    width: 2rem;
    height: auto;
    padding: .2rem;
}

.submenu[b-sui49bqz82] {
    display: none;
    padding-left: 1rem;
    margin-top: .2rem;
    z-index: 10;
}

/*.nav-item:hover .submenu {
    display: block;
}*/

.nav-link-submenu a[b-sui49bqz82] {
    padding-left: 2rem;
    color: white;
}

.nav-link p[b-sui49bqz82] {
    display: none;
}

@media (min-width: 641px) {
    /*.navbar-toggler {
        display: none;
    }*/

    .collapse[b-sui49bqz82] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-sui49bqz82] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 60px);
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 2rem;
    }
}

@media (min-width: 900px) {
    .nav-link p[b-sui49bqz82] {
        display: block;
    }

    .nav-item[b-sui49bqz82]  a {
        padding: .5rem 1rem;
    }
}

/* Improved submenu visibility and scrolling */
.submenu.show[b-sui49bqz82] {
    display: block;
    z-index: 10;
}

.submenu-nivel-2[b-sui49bqz82] {
    display: none;
    padding-left: 1.5rem;
    margin-top: 0.2rem;
    z-index: 9;
}

.submenu-nivel-2.show[b-sui49bqz82] {
    display: block;
    z-index: 9;
}

.submenu-nivel-3[b-sui49bqz82] {
    display: none;
    padding-left: 2.5rem;
    margin-top: 0.2rem;
    z-index: 8;
}

.submenu-nivel-3.show[b-sui49bqz82] {
    display: block;
    z-index: 8;
}

/* Ensure nav items don't get cut off by scroll container */
nav[b-sui49bqz82] {
    display: flex;
    flex-direction: column;
}

/* Extra bottom spacing to prevent items from being hidden at the bottom of the scroll area */
.nav-scrollable > nav > .nav-item:last-child[b-sui49bqz82] {
    margin-bottom: 2rem;
}

/* Modern Module and User Identification */
:root[b-sui49bqz82] {
    --verdesagem: #009600;
    --verdesagem-light: rgba(0, 150, 0, 0.1);
}

/* User Profile Card */
.user-profile-wrapper[b-sui49bqz82] {
    padding: 0 1rem 1rem 1rem;
}

.user-profile-card[b-sui49bqz82] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--verdesagem-light) !important;
    transition: all 0.3s ease;
}

.user-profile-card:hover[b-sui49bqz82] {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 150, 0, 0.3) !important;
}

.avatar-container[b-sui49bqz82] {
    margin-bottom: 0.5rem;
}

.user-avatar[b-sui49bqz82] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-info[b-sui49bqz82] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.user-name[b-sui49bqz82] {
    color: var(--verdesagem);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.client-name[b-sui49bqz82] {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Responsive Handling */
@media (min-width: 900px) {
    .user-profile-card[b-sui49bqz82] {
        flex-direction: row;
        padding: 0.75rem;
        text-align: left;
    }

    .avatar-container[b-sui49bqz82] {
        margin-bottom: 0;
        margin-right: 0.75rem;
    }

    .user-avatar[b-sui49bqz82] {
        width: 48px;
        height: 48px;
    }

    .user-info[b-sui49bqz82] {
        align-items: flex-start;
        text-align: left;
    }
}

/* Quick Actions (Camera, etc.) */
.quick-actions-wrapper[b-sui49bqz82] {
    padding: 0 1rem 1rem 1rem;
    display: flex;
    justify-content: center;
}

.quick-action-button[b-sui49bqz82] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    width: 100%;
    background: rgba(40, 167, 69, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(40, 167, 69, 0.2) !important;
    text-decoration: none !important;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.quick-action-button:hover[b-sui49bqz82] {
    background: rgba(40, 167, 69, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15) !important;
    border-color: rgba(40, 167, 69, 0.4) !important;
}

.action-icon[b-sui49bqz82] {
    width: 1.5rem;
    height: auto;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.action-text[b-sui49bqz82] {
    display: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #28a745;
    margin-left: 0.75rem;
}

/* Responsive Quick Actions */
@media (min-width: 900px) {
    .quick-action-button[b-sui49bqz82] {
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }

    .action-text[b-sui49bqz82] {
        display: inline-block;
    }
}
/* /Shared/NavMenuPlaneacion.razor.rz.scp.css */
/* Module nav menu styles matching the original NavMenu component.
   Keep selectors scoped to the component to avoid global side effects. */

.navbar-toggler[b-fuxio7uol8] {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item[b-fuxio7uol8] {
    font-size: 0.9rem;
}

.nav-item:last-of-type[b-fuxio7uol8] {
    padding-bottom: 1rem;
}

.nav-item[b-fuxio7uol8]  a {
    color: black;
    border-radius: 4px;
    border: 1px solid rgba(0,100,0,1);
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    margin: .3rem;
    padding: .2rem .5rem;
    text-decoration: none;
}

.nav-item[b-fuxio7uol8]  a.active {
    background-color: rgba(22, 159, 180, 0.8);
    color: white;
}

.nav-item[b-fuxio7uol8]  a:hover {
    background-color: rgba(22, 159, 180, 0.8);
    color: white;
}

.icono-sagem[b-fuxio7uol8] {
    width: 2rem;
    height: auto;
    padding: .2rem;
}

.submenu[b-fuxio7uol8] {
    display: none;
    padding-left: 1rem;
    margin-top: .2rem;
}

.nav-link-submenu a[b-fuxio7uol8] {
    padding-left: 2rem;
    color: white;
}

.nav-link p[b-fuxio7uol8] { display: none; }

@media (min-width: 641px) {
    .collapse[b-fuxio7uol8] { display: block; }
    .nav-scrollable[b-fuxio7uol8] { overflow-y: auto; }
}

@media (min-width: 900px) {
    .nav-link p[b-fuxio7uol8] { display: block; }
    .nav-item[b-fuxio7uol8]  a { padding: .5rem 1rem; }
}

/* Tweak top "Volver a Módulos" link sizing to match original NavMenu */
.nav-item.mb-2[b-fuxio7uol8]  a {
    height: 2.4rem;
    padding: .25rem .6rem;
    margin: .2rem .3rem;
    align-items: center;
}

.nav-item.mb-2[b-fuxio7uol8]  a .logo-nav,
.nav-item.mb-2[b-fuxio7uol8]  img.logo-nav {
    height: 1.4rem;
    width: auto;
}

/* Ensure inner paragraph and icon align properly inside the flex anchor */
.nav-item[b-fuxio7uol8]  a p {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.nav-item[b-fuxio7uol8]  a .icono-sagem,
.nav-item[b-fuxio7uol8]  a img.icono-sagem {
    margin-right: .6rem;
    display: inline-block;
}

/* User Profile Card */
:root[b-fuxio7uol8] {
    --verdesagem: #009600;
    --verdesagem-light: rgba(0, 150, 0, 0.1);
}

.user-profile-wrapper[b-fuxio7uol8] {
    padding: 0 1rem 1rem 1rem;
}

.user-profile-card[b-fuxio7uol8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--verdesagem-light) !important;
    transition: all 0.3s ease;
}

.user-profile-card:hover[b-fuxio7uol8] {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 150, 0, 0.3) !important;
}

.avatar-container[b-fuxio7uol8] {
    margin-bottom: 0.5rem;
}

.user-avatar[b-fuxio7uol8] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-info[b-fuxio7uol8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.user-name[b-fuxio7uol8] {
    color: var(--verdesagem);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.client-name[b-fuxio7uol8] {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Responsive Handling */
@media (min-width: 900px) {
    .user-profile-card[b-fuxio7uol8] {
        flex-direction: row;
        padding: 0.75rem;
        text-align: left;
    }

    .avatar-container[b-fuxio7uol8] {
        margin-bottom: 0;
        margin-right: 0.75rem;
    }

    .user-avatar[b-fuxio7uol8] {
        width: 48px;
        height: 48px;
    }

    .user-info[b-fuxio7uol8] {
        align-items: flex-start;
        text-align: left;
    }
}
