.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    background: var(--red-main);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    font-family: 'Sora', sans-serif;
    box-shadow: 0 3px 10px rgba(163,45,45,0.22);
    position: relative;
}
.btn-primary:hover { background: var(--red-800); }
.btn-primary svg { width: 14px; height: 14px; }

.btn-primary.is-loading {
    color: transparent !important;
    pointer-events: none;
}

.btn-primary.is-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}


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

.btn-secondary {
    padding: 9px 18px; font-size: 13px; font-weight: 500;
    background: var(--white); color: var(--gray-600);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px; cursor: pointer;
    font-family: 'DM Sans', sans-serif; transition: all 0.15s;
}
.btn-secondary:hover { background: var(--gray-100); }


.action-btn {
    background: none; border: 1px solid var(--gray-200);
    border-radius: 8px; padding: 4px 10px;
    cursor: pointer; color: var(--gray-600); font-size: 11px; font-weight: 500;
    transition: all 0.12s; margin-right: 4px; font-family: 'DM Sans', sans-serif;
}
.action-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.action-reset { color: #0ea5e9; border-color: #bae6fd; }
.action-reset:hover { background: #f0f9ff; color: #0284c7; }
.action-del { color: var(--red-main); border-color: var(--red-light); }
.action-del:hover { background: var(--red-pale); color: var(--red-800); }
