/* Custom styles for Brett Acoustics Wholesale Ordering System */

/* Brett Acoustics custom font */
@font-face {
    font-family: 'BrettAcoustics';
    src: url('../fonts/BrettAcoutics-Regular.otf') format('opentype'),
         url('../fonts/BrettAcoutics-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Ensure body takes full height */
html, body {
    height: 100%;
}

/* Custom focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Table hover effects */
tbody tr:hover {
    background-color: rgba(249, 250, 251, 0.5);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

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

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    /* Site chrome (nav, footer) has no .no-print class of its own since it
       lives in base.html outside every page's content block -- hide it here
       once, globally, rather than per-template. Printing a contract/estimate
       preview should produce just the document, not the app around it. */
    nav[aria-label="Main navigation"],
    footer {
        display: none !important;
    }
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4F46E5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

