/* Custom styles for invoice generator */

:root {
    --primary-color: #32c8a0;
    --primary-color-dark: #2aa283;
    --primary-color-light: #a7e9d7;
    --secondary-color: #0d3155;
    --secondary-color-light: #1a4980;
    --secondary-color-dark: #072544;
}

/* Printable invoice styles */
@media print {
    body {
        background-color: white;
        padding: 0;
        margin: 0;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    
    header, .no-print, .actions, .flex.space-x-2, .flex.justify-between.items-center {
        display: none !important;
    }
    
    #printable-area {
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    #invoice-content {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Ensure tables display properly when printing */
    table {
        width: 100%;
        page-break-inside: auto;
    }
    
    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
}

/* Invoice status badges */
.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-paid {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-unpaid {
    background-color: #fef3c7;
    color: #92400e;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(50, 200, 160, 0.2);
}
