/* WebHostIQ Portal — custom styles (extends Tailwind via CDN) */

/* Smooth transitions for interactive elements */
button, a, input, select, textarea {
    transition: all 0.15s ease-in-out;
}

/* HTMX loading indicator */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

/* Loading spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Code block styling */
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Select all text in code blocks */
.select-all {
    user-select: all;
    cursor: pointer;
}
