/**
 * Take Down Braids — global action loading overlay + button states.
 */
.tdb-action-loading-root {
    position: fixed;
    inset: 0;
    z-index: 19500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(253, 251, 247, 0.82);
    backdrop-filter: blur(2px);
}

.tdb-action-loading-root.hidden {
    display: none;
}

.tdb-action-loading-card {
    min-width: 260px;
    max-width: 360px;
    padding: 1.5rem 1.75rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(10, 19, 46, 0.18);
    text-align: center;
}

.tdb-action-loading-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 0.85rem;
    border: 3px solid rgba(123, 83, 1, 0.18);
    border-top-color: #965b07;
    border-radius: 50%;
    animation: tdbActionLoadingSpin 0.8s linear infinite;
}

@keyframes tdbActionLoadingSpin {
    to { transform: rotate(360deg); }
}

.tdb-action-loading-text {
    margin: 0;
    color: #0a132e;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.45;
}

.tdb-action-loading-btn.is-loading,
.tdb-action-loading-btn:disabled {
    opacity: 0.72;
    cursor: wait;
    pointer-events: none;
}
