/* Custom properties for consistency, though Tailwind handles the heavy lifting */
:root {
    --color-emerald-500: #10B981;
    --color-slate-900: #0F172A;
}

/* Animations referenced in index.html */
.fade-in {
    animation: fadeIn 0.5s ease-in forwards;
}

.slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================================================ 
PRINT STYLES (For Export to PDF via window.print)
================================================ 
*/
@media print {
    /* Hide the sidebar, buttons, and top margins so the PDF only captures the data */
    .print-hidden, aside, nav, button {
        display: none !important;
    }
    
    /* Expand the main content to fill the printed page perfectly */
    main {
        margin-left: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Force background colors to print if user browser allows it */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
.font-inter {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.status-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-funded {
    background-color: #d1fae5;
    color: #065f46;
}

.status-submitted {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background-color: #d1fae5;
    color: #065f46;
}

.status-in-progress {
    background-color: #dbeafe;
    color: #1e40af;
}

body {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

input:focus {
    outline: none;
}

textarea:focus {
    outline: none;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hover-lift:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.card-shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.card-shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .ml-64 {
        margin-left: 0;
    }
}
