.app-loading-overlay[hidden] {
    display: none !important;
}

.app-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background: rgba(8, 5, 4, 0.58);
    backdrop-filter: blur(4px);
}

.app-loading-card {
    width: min(420px, calc(100vw - 32px));
    padding: 22px;
    border: 1px solid rgba(255, 210, 120, 0.34);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 9, 7, 0.96), rgba(52, 24, 13, 0.94));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52), 0 0 34px rgba(181, 95, 32, 0.16);
    color: #ffe2a0;
}

.app-loading-title {
    margin-bottom: 6px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.app-loading-message {
    margin-bottom: 14px;
    color: rgba(255, 236, 190, 0.82);
    font-size: 0.94rem;
}

.app-loading-track {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(14, 8, 6, 0.9);
}

.app-loading-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5b1511, #8b3517, #d97824, #ffd87a);
    transition: width 180ms ease;
}

button.is-loading,
.admin-button.is-loading,
input[type="submit"].is-loading {
    cursor: wait !important;
    opacity: 0.72;
    pointer-events: none;
}

.app-is-loading body {
    cursor: progress;
}
