/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}

/* Input Fields */
.input-field {
    display: block;
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #1f2937;
    background-color: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-field:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.input-field::placeholder {
    color: #9ca3af;
}

/* Required field indicator */
.required-label::after {
    content: " *";
    color: #ef4444;
    font-weight: 600;
}

/* Helper text */
.helper-text {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    #invoicePreview, #invoicePreview * {
        visibility: visible;
    }
    #invoicePreview {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
}

/* Utility to hide elements in PDF but show in preview if needed, or vice versa */
.pdf-hidden {
    display: none !important;
}
