/* RapidRoof HQ - Base Styles */

/* Prevent heuristic caching issues */
html {
    scroll-behavior: smooth;
}

/* Ensure minimum height for main content */
body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Custom scrollbar for modern browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c7c7c7;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

/* Table hover effects */
tbody tr:hover {
    transition: background-color 0.15s ease;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Button transitions */
button,
a.inline-flex {
    transition: all 0.15s ease;
}

/* File upload drag state */
.border-dashed:hover {
    border-color: #6366f1;
    background-color: #f5f3ff;
}

/* Status badge animations */
.rounded-full {
    transition: transform 0.15s ease;
}

.rounded-full:hover {
    transform: scale(1.05);
}

/* Loading state placeholder */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* HTMX loading indicator */
.htmx-request .htmx-indicator {
    display: inline;
}

.htmx-indicator {
    display: none;
}
