/* Global EsPageLoader — linked from Master so login/loader always styles correctly */
.es-page-loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    z-index: 99999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(53, 64, 82, 0.75);
}

.es-page-loader.is-visible {
    display: flex !important;
}

.es-page-loader__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: min(100%, 280px);
    padding: 0 16px;
    box-sizing: border-box;
}

.es-page-loader__ring-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    flex: 0 0 auto;
}

.es-page-loader__ring {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #3b82f6;
    border-radius: 50%;
    box-sizing: border-box;
    animation: es-page-loader-spin 0.85s linear infinite;
}

.es-page-loader__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    max-width: 52px;
    max-height: 52px;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
}

.es-page-loader__caption {
    margin: 18px 0 0;
    padding: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
}

@keyframes es-page-loader-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
