/* Shared CSS Utilities
   Common styles used across multiple views */

/* ===========================================
   HTMX Indicator Styles
   Used for loading states with HTMX requests
   =========================================== */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: flex;
}

.htmx-request.htmx-indicator {
    display: flex;
}

/* ===========================================
   Scrollbar Utilities
   =========================================== */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* ===========================================
   Action Button Styles
   Common button styles for detail pages
   =========================================== */
.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.875rem;
    min-height: 48px;
    gap: 0.5rem;
    color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.action-button:hover {
    transform: translateY(-1px);
}

.action-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.action-button-primary {
    background-color: #3b82f6;
}

.action-button-primary:hover {
    background-color: #2563eb;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.action-button-success {
    background-color: #10b981;
}

.action-button-success:hover {
    background-color: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.action-button-green {
    background-color: #059669;
}

.action-button-green:hover {
    background-color: #047857;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}
