/* Custom styles to complement Tailwind CSS */

/* Remove default styles from certain elements */
a {
    text-decoration: none;
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Loading spinner */
.spinner {
    border: 2px solid #e7f2e7;
    border-top: 2px solid #669b66;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

/* Mobile responsiveness for tables */
@media (max-width: 640px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #669b66;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7fa57f;
}