html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    width: 180px;
    height: 48px;
    background: url('../images/LOCMAR_logotipo_DEF.png') no-repeat center;
    background-size: contain; /* Escala la imagen para que se ajuste al contenedor */
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

/* Ocultar el selector de vistas del Scheduler (DevExpress T1200462) */
.hide-view-switcher .dxsc-toolbar-item-view-selector {
    display: none !important;
}

/* Opcional: También ocultar la barra de herramientas completa si no se necesita */
/* .hide-view-switcher .dxsc-toolbar {
    display: none !important;
} */

.gol-document-drop-over {
    outline: 2px dashed #0d6efd;
    outline-offset: -2px;
    background-color: rgba(13, 110, 253, 0.08);
}

#gol-upload-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    z-index: 100500;
}

#gol-upload-overlay.active {
    display: flex;
}

.gol-upload-card {
    width: min(420px, 90vw);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 16px;
}

.gol-upload-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.gol-upload-bar-container {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 999px;
    overflow: hidden;
}

.gol-upload-bar {
    height: 100%;
    width: 0;
    background: #0d6efd;
    transition: width .15s ease;
}

.gol-upload-bar.indeterminate {
    position: relative;
    overflow: hidden;
}

.gol-upload-bar.indeterminate::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 45%;
    background: rgba(255, 255, 255, 0.5);
    animation: gol-upload-indeterminate 1.1s infinite;
}

.gol-upload-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

@keyframes gol-upload-indeterminate {
    from { transform: translateX(-120%); }
    to { transform: translateX(240%); }
}
