html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.arky-splash-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: transparent;
}

.arky-splash-logo {
    display: block;
    width: min(220px, 60vw);
    height: auto;
    border: 0;
    box-shadow: none;
}

.header-logo {
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('../images/Logo.svg');
    mask: url('../images/Logo.svg');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    width: 56px;
    height: 18px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.arky-reconnect-modal {
    display: none;
}

.arky-reconnect-modal.components-reconnect-show,
.arky-reconnect-modal.components-reconnect-retrying,
.arky-reconnect-modal.components-reconnect-failed,
.arky-reconnect-modal.components-reconnect-rejected {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 100002;
    background: rgba(15, 23, 42, 0.35);
}

.arky-reconnect-card {
    width: min(420px, calc(100% - 32px));
    padding: 24px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    text-align: center;
}

.arky-reconnect-title {
    margin-bottom: 8px;
    color: #0d6efd;
    font-size: 18px;
    font-weight: 600;
}

.arky-reconnect-message {
    color: #212529;
}

.arky-reconnect-detail {
    margin-top: 12px;
    color: #6c757d;
    font-size: 14px;
}

/* 
 * NOTA: La regola CSS per nascondere il footer del popup wizard AppuntamentoHRC
 * è stata rimossa perché troppo aggressiva e nascondeva i pulsanti in tutti i popup.
 * Il wizard Appuntamento usa il DialogController per nascondere i pulsanti via codice C#.
 */

.arky-scheduler-tooltip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.arky-scheduler-tooltip-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.arky-scheduler-tooltip-button {
    white-space: nowrap;
}

.dxbl-loading-panel-indicator,
.dxbl-wait-indicator,
.dxbl-wait-indicator-icon,
.xaf-loading-indicator,
.xaf-loading-indicator-icon,
.xaf-loading .dxbl-wait-indicator,
.xaf-loading .dxbl-loading-panel-indicator {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    min-height: 96px !important;
    background: transparent url('../images/animazione-logo-arky.gif') center / contain no-repeat !important;
    border: 0 !important;
    box-shadow: none !important;
    animation: none !important;
}

.dxbl-loading-panel-indicator::before,
.dxbl-loading-panel-indicator::after,
.dxbl-wait-indicator::before,
.dxbl-wait-indicator::after,
.dxbl-wait-indicator-icon::before,
.dxbl-wait-indicator-icon::after,
.xaf-loading-indicator::before,
.xaf-loading-indicator::after,
.xaf-loading-indicator-icon::before,
.xaf-loading-indicator-icon::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    animation: none !important;
}

.dxbl-loading-panel-indicator > *,
.dxbl-wait-indicator > *,
.dxbl-wait-indicator-icon > *,
.xaf-loading-indicator > *,
.xaf-loading-indicator-icon > * {
    visibility: hidden !important;
}
