.htmx-indicator {
    display: none;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: block;
}

.version-root { background-color: #f3f4f6; color: #374151; }
.version-account { background-color: #dbeafe; color: #1e40af; }
.version-region { background-color: #d1fae5; color: #065f46; }
.version-environment { background-color: #fef3c7; color: #92400e; }
.version-local { background-color: #fce7f3; color: #9d174d; }

.fade-in {
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Inline spinner for htmx loading indicators */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #e5e7eb;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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