/* Journal refresh button */
.mj-header {
    position: relative;
}

.mj-refresh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
    padding: 8px 14px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mj-refresh-btn:hover:not(:disabled) { opacity: 0.8; }
.mj-refresh-btn:active:not(:disabled) { transform: scale(0.98); }
.mj-refresh-btn:disabled { cursor: wait; opacity: 0.65; }

.mj-refresh-btn.is-loading > span:first-child {
    display: inline-block;
    animation: mj-refresh-spin 0.8s linear infinite;
}

.mj-refresh-status {
    margin-top: 8px;
    font-size: 0.85rem;
    opacity: 0.75;
}

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