/* Spinner + modalul de confirmare (perechea lui js/confirm-modal.js). */
@keyframes ags-spin { to { transform: rotate(360deg); } }
.ags-spinner {
    display: inline-block; width: 0.9em; height: 0.9em; vertical-align: -0.1em;
    border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
    animation: ags-spin 0.6s linear infinite; margin-right: 0.4em;
}
.ags-modal-overlay {
    position: fixed; inset: 0; background: rgba(15,23,42,0.55); z-index: 10000;
    display: none; align-items: center; justify-content: center; padding: 1rem;
}
.ags-modal {
    background: #fff; border-radius: 16px; max-width: 24rem; width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); overflow: hidden; font-family: inherit;
}
.ags-modal__body { padding: 22px 24px 8px; color: #0f172a; }
.ags-modal__title { font-weight: 800; font-size: 1rem; margin: 0 0 6px; }
.ags-modal__msg { font-size: 0.875rem; color: #475569; margin: 0; line-height: 1.5; }
.ags-modal__actions { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 24px 22px; }
.ags-modal__btn { padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 0.85rem; cursor: pointer; border: 0; }
.ags-modal__btn--cancel { background: #f1f5f9; color: #334155; }
.ags-modal__btn--ok { background: #ea580c; color: #fff; }
